karmx commited on
Commit
b296ad4
·
verified ·
1 Parent(s): babe3c4

Release TinyQuery 139.7M from scratch with frozen weights, reproducible Mac evaluations and runtime source

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. LICENSE +202 -0
  2. README.md +111 -0
  3. checkpoint-info.json +1 -0
  4. config.json +11 -0
  5. docs/architecture.md +65 -0
  6. docs/experiment.md +59 -0
  7. evaluation/baseline-manual.jsonl +160 -0
  8. evaluation/baseline-manual.summary.json +1007 -0
  9. evaluation/baseline-test.jsonl +0 -0
  10. evaluation/baseline-test.summary.json +1932 -0
  11. evaluation/development.summary.json +1785 -0
  12. evaluation/gpu-final-console-metrics.json +83 -0
  13. evaluation/manual-mac.jsonl +160 -0
  14. evaluation/manual-mac.summary.json +1008 -0
  15. evaluation/test-mac.jsonl +0 -0
  16. evaluation/test-mac.summary.json +1933 -0
  17. evaluation/validation.summary.json +1933 -0
  18. examples/context-mysql.json +59 -0
  19. examples/context-supabase.json +43 -0
  20. grounding-stats.json +5 -0
  21. manifest.json +279 -0
  22. model.safetensors +3 -0
  23. provenance/experiment-provenance.json +143 -0
  24. provenance/full-audit.json +13 -0
  25. provenance/native-reference-validation.json +474 -0
  26. provenance/selection.json +19 -0
  27. provenance/teacher-runtime.json +81 -0
  28. provenance/template-filter.json +48 -0
  29. requirements.txt +8 -0
  30. runtime/README.md +16 -0
  31. runtime/download-teacher.py +2 -0
  32. runtime/mac-environment.lock.txt +32 -0
  33. runtime/requirements-mac.txt +8 -0
  34. runtime/requirements-teacher-cuda.txt +4 -0
  35. runtime/requirements-training-cuda.txt +11 -0
  36. runtime/serve-teacher.sh +12 -0
  37. split-audit.json +76 -0
  38. tinyquery/__init__.py +1 -0
  39. tinyquery/__pycache__/__init__.cpython-312.pyc +0 -0
  40. tinyquery/__pycache__/chat.cpython-312.pyc +0 -0
  41. tinyquery/__pycache__/data.cpython-312.pyc +0 -0
  42. tinyquery/__pycache__/evaluate.cpython-312.pyc +0 -0
  43. tinyquery/__pycache__/model.cpython-312.pyc +0 -0
  44. tinyquery/__pycache__/recipes.cpython-312.pyc +0 -0
  45. tinyquery/audit_data.py +59 -0
  46. tinyquery/average_checkpoints.py +33 -0
  47. tinyquery/baseline.py +90 -0
  48. tinyquery/chat.py +68 -0
  49. tinyquery/checkpoint_eval.py +38 -0
  50. tinyquery/concrete.py +78 -0
LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2026 Alibaba Cloud
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
README.md ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - hi
5
+ license: apache-2.0
6
+ library_name: pytorch
7
+ tags:
8
+ - text-to-sql
9
+ - tool-calling
10
+ - mcp
11
+ - from-scratch
12
+ - tiny-model
13
+ - custom-code
14
+ - safetensors
15
+ datasets:
16
+ - karmx/TinyQuery-Tools-Multilingual
17
+ ---
18
+
19
+ # TinyQuery-140M
20
+
21
+ **139.7M parameters, trained from random initialization on one RTX PRO 6000 within a four-hour experiment.** TinyQuery turns a question, database schema and runtime tool definitions into a JSON action. It targets English, imperfect English, Hindi and Hinglish, with bounded read-only MySQL and PostgreSQL/Supabase queries and MCP-style tool calls.
22
+
23
+ The frozen student achieved **92.47% full task success (1,106/1,196)** on the held-out test and **82.50% (132/160)** on additional handwritten-phrasing cases. It is an experimental narrow model, not a general chatbot or a guarantee of correct SQL.
24
+
25
+ This repository contains the weights, training/inference source, tokenizer, configurations, evaluation reports, architecture documentation and runtime recipes. **This is a custom native PyTorch checkpoint. Transformers `AutoModel` and `pipeline()` cannot load it.**
26
+
27
+ ## Run with streaming output
28
+
29
+ Requires Python 3.12. Download this repository, then run from its directory:
30
+
31
+ ```sh
32
+ python3.12 -m venv .venv
33
+ source .venv/bin/activate
34
+ python -m pip install -r requirements.txt
35
+ python -m tinyquery.chat "दिल्ली के ग्राहकों के नाम दिखाओ।" \
36
+ --checkpoint model.safetensors --backend supabase --mcp --stats
37
+ ```
38
+
39
+ The CLI automatically uses Apple Silicon MPS, CUDA or CPU and streams raw output. The bundled fictitious demo schema supports this example:
40
+
41
+ ```json
42
+ {"action":"call","name":"execute_sql","arguments":{"query":"SELECT name FROM customers WHERE city = 'Delhi';"}}
43
+ ```
44
+
45
+ Use `--context examples/context-supabase.json` or `examples/context-mysql.json`, edited with your schema and exact tool definitions. A context has `backend`, `project_id`, `schema`, `tools` and `policy`; tools use `name`, `description` and JSON Schema `inputSchema`. The context limit is 2,048 tokens including the output budget; final training sequences reached 945 tokens.
46
+
47
+ `--mcp` validates and serializes a JSON-RPC `tools/call` payload. **It does not connect to an MCP server, authenticate, or execute a database query.** The host application must implement transport and execution. The structural validator does not prove semantic correctness. Invalid output causes a nonzero CLI exit status.
48
+
49
+ A single local M5/MPS demonstration measured approximately 52 generated tokens/second, excluding model loading. This is one short run, not a throughput guarantee.
50
+
51
+ ## Evaluation
52
+
53
+ Weights were frozen at step 25,715 on 2026-09-10 at 14:00:36 UTC, before reading test/manual results. Selection maximized the equal mean of full validation and development success among completed evaluated candidates. Development contains schema-layout and tool-name perturbations of validation families.
54
+
55
+ | Measure | Held-out test | Additional manual phrasing |
56
+ |---|---:|---:|
57
+ | Examples | 1,196 | 160 |
58
+ | Valid JSON | 1,196/1,196 (100%) | 160/160 (100%) |
59
+ | Valid action/tool schema | 1,191/1,196 (99.58%) | 159/160 (99.38%) |
60
+ | Correct tool, call cases | 1,088/1,100 (98.91%) | 146/152 (96.05%) |
61
+ | Exact arguments, call cases | 1,014/1,100 (92.18%) | 124/152 (81.58%) |
62
+ | SQL result equivalence, SQL cases | 896/912 (98.25%) | 94/112 (83.93%) |
63
+ | **Full task success** | **1,106/1,196 (92.47%)** | **132/160 (82.50%)** |
64
+ | TF-IDF retrieval + context-binding baseline, full success | 881/1,196 (73.66%) | 115/160 (71.88%) |
65
+
66
+ These primary numbers are the completed CUDA BF16 evaluation captured in `evaluation/gpu-final-console-metrics.json`. The rented server subsequently refused SSH connections, so its raw final prediction files were not retrieved. Independent FP32 Mac evaluation reproduced every aggregate metric exactly; complete raw predictions, language/backend breakdowns and summaries are included in `evaluation/test-mac.*` and `evaluation/manual-mac.*`. No retraining or selection follows the test results.
67
+
68
+ Evaluation uses raw greedy generation with no repair, constrained decoding, retrieval fallback or teacher fallback. Full SQL-task success requires the correct tool, exact non-SQL arguments (including project scope), compilation against the supplied schema, and matching results on two generated SQLite fixtures after dialect adaptation. SQL equivalence alone does not require correct project scope, so its percentage can exceed full success. Non-SQL tool calls require exact arguments; clarification/answer text requires exact reference wording.
69
+
70
+ **These are synthetic benchmark results, not measured production task success.** Native MySQL 8.0.46/PostgreSQL 16.15 checks passed all 66 reference-operation/dialect cases; these validate reference data, not the final student's test predictions. Final native student evaluation was unavailable after SSH access failed. SQL fixture equivalence is not a proof for all possible databases.
71
+
72
+ Validation scored 1,174/1,200 (97.83%); development scored 188/192 (97.92%). These were used for model selection and are not final held-out claims. The 160 manual cases use handwritten phrasing templates on 40 test families, so manual and test are not independent schema-family samples.
73
+
74
+ ## Architecture and training
75
+
76
+ | Component | Value |
77
+ |---|---|
78
+ | Total parameters | 139,738,113 |
79
+ | Decoder | 12 layers, width 1,024 |
80
+ | Attention | 16 query heads, 4 KV heads, head dimension 64 |
81
+ | Feed-forward | SwiGLU, intermediate width 2,816 |
82
+ | Positions / normalization | RoPE, RMSNorm |
83
+ | Embeddings | Tied input/output; train-only byte BPE vocabulary of 4,082 |
84
+ | Source-copy head | Learned 128-dimensional pointer projection and mixture gate |
85
+ | Auxiliary head | Three action classes, used in training |
86
+ | Context | 2,048 |
87
+ | Export | BF16 Safetensors, approximately 280 MB |
88
+
89
+ The source-copy head mixes vocabulary generation with attention over the supplied context and question, excluding generated answer text. It adapts the established [pointer-generator approach](https://aclanthology.org/P17-1099/). The architecture and dataset evolved together, so this is not a controlled ablation or a claim of a novel research architecture. See [architecture documentation](docs/architecture.md).
90
+
91
+ All student weights originate from random initialization during this experiment; the copy head was initialized later and trained with the continuing decoder. No pretrained student checkpoint or teacher logits were used. Training used BF16, AdamW, gradient clipping and weighted length buckets. Early loss weights were response 1, prompt 0.15, and auxiliary action CE 0.05. A later response-only refinement did not displace the selected checkpoint.
92
+
93
+ The selected checkpoint records 595,067,301 processed tokens, 78,367,410 response tokens and 5,092.34 trainer seconds. These are retained-lineage counters, including validation/checkpoint time and excluding discarded work and model loading. Training continued to step 32,642, but those last weights were not selected. The overall experiment began at 10:57:23 UTC and had a 14:57:23 UTC deadline. See [experiment provenance](provenance/experiment-provenance.json) for curricula and counters.
94
+
95
+ ## Dataset and teacher
96
+
97
+ The companion [TinyQuery-Tools-Multilingual dataset](https://huggingface.co/datasets/karmx/TinyQuery-Tools-Multilingual) contains 347,376 final training rows, 25,145 scenario groups, 100,224,712 tokens and 13,163,249 response tokens. Language/context variants are not independent teacher generations. SQL/tool semantics are programmatic; Qwen supplies templates, paraphrases and verification. An additional city-language curriculum is programmatically authored and labeled accordingly.
98
+
99
+ Teacher: [Qwen/Qwen3.8-27B-FP8](https://huggingface.co/Qwen/Qwen3.8-27B-FP8), revision `017b9c7af6b5689d5dd426a76e0bc077eb5ca20a`. On the rented RTX PRO 6000, vLLM 0.28.0 with MTP-3 measured about 931 output tokens/second versus 691 without MTP at 32 concurrent requests. Initial template/paraphrase generation preceded MTP; verification and template audit used MTP. This is a measured workload comparison, not a claim of globally optimal settings. See [teacher runtime provenance](provenance/teacher-runtime.json) and [runtime recipes](runtime/README.md).
100
+
101
+ Training has no scenario-group overlap with validation, development, test or manual. There are no exact prompt duplicates across splits. Development shares validation families, and manual shares test families, intentionally. A teacher audit flagged 37 template instances; 6,778 derived rows were removed from the final corpus after earlier training stages had already encountered them. Final reference-data audits passed schema/serialization and generated-fixture checks; these checks do not certify all natural-language paraphrases.
102
+
103
+ ## Scope and limitations
104
+
105
+ - Supports a bounded recipe set: projections, filters, aggregates, grouping/HAVING, ordering, date/string filtering and a single join, plus schema discovery and a few generic tool categories.
106
+ - Arbitrary unseen databases, tools, complex joins, long conversations and broad Hindi translation are not established capabilities. Hindi city/table lexical mappings cover a small explicit training vocabulary.
107
+ - A correct JSON object can contain a wrong tool, literal, project ID or query. The model is not 100% reliable.
108
+ - It emits one action, not a complete autonomous MCP agent. Database execution and authorization belong to the host application.
109
+ - The runtime source and frozen data support new experiments; the release is not a bitwise replay of the evolving training session. The final optimizer state and some server logs were not recovered after SSH access failed.
110
+
111
+ Weights and project code are released under Apache-2.0. Teacher provenance is documented separately. See `manifest.json` for file hashes and `checkpoint-info.json` for selected-weight counters.
checkpoint-info.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"step": 25715, "processed_tokens": 595067301, "response_tokens": 78367410, "training_seconds": 5092.33953666687, "random_initialization": true}
config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "vocab_size": 4082,
3
+ "width": 1024,
4
+ "layers": 12,
5
+ "heads": 16,
6
+ "kv_heads": 4,
7
+ "hidden": 2816,
8
+ "context": 2048,
9
+ "rope_theta": 10000.0,
10
+ "copy_dim": 128
11
+ }
docs/architecture.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # TinyQuery: how the model works
2
+
3
+ TinyQuery is a 139,738,113-parameter decoder trained from random weights for a narrow task: turn a question plus database schema and tool definitions into one JSON action. It uses established transformer components and a learned source-copy head. It is an experiment, not a claim of a new research architecture.
4
+
5
+ ```mermaid
6
+ flowchart LR
7
+ A[Schema, tools and question] --> B[Byte BPE: 4,082 tokens]
8
+ B --> C[12 causal decoder blocks]
9
+ C --> D[Generate next-token probabilities]
10
+ C --> E[Copy probabilities over input tokens]
11
+ C --> F[Learned sigmoid gate]
12
+ D --> G[Mixed next-token distribution]
13
+ E --> G
14
+ F --> G
15
+ G --> H[Raw JSON action]
16
+ H --> I[Validate tool name and arguments]
17
+ I --> J[MCP tools/call payload]
18
+ ```
19
+
20
+ The model sees everything needed for a particular request in its prompt. It must learn the language of the request, the required SQL operation, the correct runtime tool, and how to preserve identifiers and literal values. The inference CLI prints the action; it does not connect to a database or execute the tool.
21
+
22
+ ## Decoder
23
+
24
+ | Component | Configuration |
25
+ |---|---|
26
+ | Tokenizer | Byte BPE trained only on training text; 4,082 tokens |
27
+ | Hidden width | 1,024 |
28
+ | Decoder layers | 12 |
29
+ | Attention | 16 query heads, 4 key/value heads, head width 64 |
30
+ | Positions | Rotary position embeddings, theta 10,000 |
31
+ | Normalization | RMSNorm before attention and feed-forward layers |
32
+ | Feed-forward | SwiGLU, intermediate width 2,816 |
33
+ | Output projection | Tied to the input token embedding |
34
+ | Context limit | 2,048 tokens; training coverage is shorter and reported with the dataset |
35
+ | Training-only auxiliary head | Three action classes: call, clarify, answer |
36
+
37
+ Attention is causal: a position can use earlier tokens but cannot see future answer tokens. Grouped-query attention shares four sets of keys and values across sixteen query heads, reducing the KV cache used during streaming. The cache preserves earlier attention keys and values so generation does not recompute the entire prompt for each token.
38
+
39
+ ## Learned copying
40
+
41
+ Ordinary next-token generation initially memorized familiar table and tool names. Dataset variants and a copy head address this specific failure. The copy head projects decoder states into 128-dimensional queries and keys, attends to the supplied context and question, and adds together attention mass for repeated occurrences of the same token.
42
+
43
+ For each next token, a learned gate combines two distributions:
44
+
45
+ `P(token) = gate × P_generate(token) + (1 − gate) × P_copy_from_input(token)`
46
+
47
+ The copy distribution excludes generated answer text. This prevents the model from repeatedly copying its own earlier mistakes. The gate and attention are learned; there is no hard-coded replacement of predicted tool names, no SQL template compiler, no constrained decoding, and no hidden teacher or retrieval fallback in neural evaluation.
48
+
49
+ This adapts the established [pointer-generator idea](https://aclanthology.org/P17-1099/). Data and architecture changed together during development, so improvements are not presented as a controlled architecture ablation.
50
+
51
+ ## Training and output
52
+
53
+ Early stages give answer tokens weight 1 and prompt tokens weight 0.15, plus 0.05 times an auxiliary action-classification loss. A late refinement uses prompt weight 0, focusing optimization on answers; final checkpoint selection can retain an earlier candidate if that refinement does not improve development results. The prompt contribution helps learn vocabulary from scratch; the answer contribution teaches the requested behavior. The final curriculum also samples particular context variants more often to counter identifier-format memorization.
54
+
55
+ The teacher supplies language variations and a verification pass. Programmatic recipes supply reference SQL and tool actions. Student weights originate entirely from random initialization in this experiment; later stages continue those same weights and add randomly initialized copy parameters.
56
+
57
+ The output contract is either a call, a clarification, or a short answer:
58
+
59
+ ```json
60
+ {"action":"call","name":"execute_sql","arguments":{"query":"SELECT name FROM customers WHERE city = 'Delhi';"}}
61
+ ```
62
+
63
+ The adapter checks the action against the supplied tool schema and can serialize a JSON-RPC `tools/call` request. JSON validity, correct tool selection, exact project scope and SQL result correctness are separate evaluation measures. A valid JSON action alone does not establish a correct query.
64
+
65
+ The model's scope is bounded SQL and tool use in four language styles. It is not a general conversational model or a database knowledge store. Final measured results, training time and limitations belong in the release model card.
docs/experiment.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # TinyQuery Tools
2
+
3
+ An experimental, randomly initialized decoder for schema-conditioned tool calls in English, imperfect English, Hindi and Hinglish. This is separate from the original 4.2M-parameter Tiny English learning project.
4
+
5
+ The current student has **139,738,113 parameters**: 12 decoder layers, width 1024, 16 query heads, four KV heads, rotary positions, RMSNorm, SwiGLU width 2816, tied embeddings, a three-class auxiliary action head and a learned 128-dimensional source-copy head. The copy head mixes next-token generation with attention over the supplied context and question; it excludes generated answer text. The byte BPE vocabulary has 4,082 tokens learned from the training corpus. The configured context limit is 2,048; current training sequences reach 945 tokens. These are established transformer components with a custom training objective, not a demonstrated research breakthrough.
6
+
7
+ ## Output contract
8
+
9
+ The model receives a backend, schema, runtime tool definitions and a question, and predicts one JSON action:
10
+
11
+ ```json
12
+ {"action":"call","name":"execute_sql","arguments":{"query":"SELECT name FROM customers WHERE city = 'Delhi';"}}
13
+ ```
14
+
15
+ Other actions are `{"action":"clarify","question":"..."}` and `{"action":"answer","text":"..."}`. Provided tool definitions use MCP-style `name`, `description`, and `inputSchema`. The adapter validates the action and can serialize a JSON-RPC `tools/call` request. **The neural model does not implement the MCP transport or authenticate to databases.**
16
+
17
+ The database corpus targets read-only MySQL and PostgreSQL (Supabase). It covers projections, comparisons, NULLs, counts and aggregates, grouping/HAVING, sorting/limits, date filtering, substring matching and a single join. Schema discovery and bounded tool-error cases are included. Generic examples cover weather lookup, documentation search, file reading and ticket lookup. These are trained categories, not a claim of competence with arbitrary unseen tools.
18
+
19
+ ## Dataset
20
+
21
+ The final continuation corpus contains 347,376 examples and 100,224,712 tokens, including 13,163,249 response tokens. It combines programmatic SQL/tool semantics, Qwen3.8-27B-FP8 multilingual templates and direct paraphrases, and randomized runtime identifiers. It has 25,145 scenario groups; rendered language/context variants are not independent teacher generations.
22
+
23
+ Validation has 1,200 examples and test has 1,196, with held-out domain/table names and language templates. An additional 160 cases render hand-written phrasings on 40 test scenario families. These add phrasing coverage, not independent schema families. Neither test nor manual is used for training or model selection. A separate 192-case development split changes schema layouts and tool names on 140 validation families; it is used during development and shares no training/test/manual families.
24
+
25
+ A teacher audit of 1,313 training SQL template instances flagged 37 variants; 6,778 derived rows were conservatively removed from the final corpus. Earlier training stages had already used them. Every final training action passed schema/serialization checks, and 151,920 distinct reference SQL cases executed on two generated SQLite fixtures. A separate 66-case reference check passed on native MySQL 8.0.46 and PostgreSQL 16.15. A further 160,253 distinct query/context pairs compile against the supplied schemas. These are reference-data checks, not student accuracy.
26
+
27
+ Teacher revision: `017b9c7af6b5689d5dd426a76e0bc077eb5ca20a`. MTP-3 improved the measured 32-concurrent-request teacher workload from about 691 to 931 output tokens/second. Samples retain teacher prompts, settings and verification provenance. The model is trained from random weights; no pretrained student checkpoint or hidden teacher fallback is used.
28
+
29
+ ## Reproduce
30
+
31
+ ```sh
32
+ python -m tinyquery.teacher_templates --out data/tinyquery/templates.jsonl
33
+ python -m tinyquery.data --templates data/tinyquery/templates.jsonl --out data/tinyquery
34
+ python -m tinyquery.prepare --data data/tinyquery
35
+ python -m tinyquery.train --data data/tinyquery --out runs/tinyquery --copy-dim 128 --minutes 30
36
+ ```
37
+
38
+ `concrete.py` and `verify_concrete.py` add direct paraphrases and round-trip verification. The published dataset includes the frozen augmented corpus; see its provenance and manifest rather than assuming the four commands above reproduce the exact published rows. An optional `--deadline` supplies a hard UTC wall-clock stop. The released experiment used multiple curriculum stages and a fixed four-hour overall budget; a new 30-minute run does not reproduce its result.
39
+
40
+ ## Stream output
41
+
42
+ Once the finished export is placed in `runs/tinyquery/`:
43
+
44
+ ```sh
45
+ .venv/bin/python -m tinyquery.chat "दिल्ली के ग्राहकों के नाम दिखाओ।" \
46
+ --checkpoint runs/tinyquery/model.safetensors --backend supabase --mcp
47
+ ```
48
+
49
+ Use `--context path/to/context.json` to provide actual schema and tool definitions. The CLI streams the model's raw output and validates it. `--stats` reports measured generation speed. The MCP serializer rejects mismatched project scope, unknown schema tables and unsupported data-changing statements; these structural checks do not establish semantic correctness. It does not execute tools. The default context is a small fictitious customers table.
50
+
51
+ ## Evaluation
52
+
53
+ ```sh
54
+ python -m tinyquery.evaluate --checkpoint runs/tinyquery/model.safetensors \
55
+ --tokenizer runs/tinyquery/tokenizer.json --data data/tinyquery/test.jsonl \
56
+ --out runs/tinyquery/test-predictions.jsonl
57
+ ```
58
+
59
+ Evaluation uses raw greedy output with no JSON repair, constrained decoding or teacher fallback. Report JSON validity, tool-schema validity, tool choice, exact arguments and SQL result equivalence separately. The default SQL evaluator uses dialect adaptation to SQLite; `native_sql.py` performs separate checks on local MySQL/PostgreSQL engines. Final measured student results and failure examples will be written after training.
evaluation/baseline-manual.jsonl ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"id": "manual_adff4eabe2639c0c128c_en", "retrieved_id": "a1b28dd3b5e89d70dccb_concrete_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT * FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
2
+ {"id": "manual_adff4eabe2639c0c128c_noisy_en", "retrieved_id": "755cf7dd59fa3c3634e3_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT * FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
3
+ {"id": "manual_adff4eabe2639c0c128c_hi", "retrieved_id": "b7f50817c901971c7f7a_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT description FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
4
+ {"id": "manual_adff4eabe2639c0c128c_hinglish", "retrieved_id": "a008cb35da6057a0324f_concrete_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT * FROM inspections WHERE status = 'North';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
5
+ {"id": "manual_efee65268e6dc2bb069e_en", "retrieved_id": "b228aef51c67d0673184_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT customer_name FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
6
+ {"id": "manual_efee65268e6dc2bb069e_noisy_en", "retrieved_id": "c91d2572f9472c9cec38_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT customer_name FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
7
+ {"id": "manual_efee65268e6dc2bb069e_hi", "retrieved_id": "3aac2f1448f136869091_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT customer_name FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
8
+ {"id": "manual_efee65268e6dc2bb069e_hinglish", "retrieved_id": "9f26d63bfba42c873223_concrete_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE rating > 500;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
9
+ {"id": "manual_2c31add7d7b45843dec1_en", "retrieved_id": "6f49986bb93bef798e08_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT display_name FROM inspections WHERE kind = 'Pune';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
10
+ {"id": "manual_2c31add7d7b45843dec1_noisy_en", "retrieved_id": "53759e65346adaac1c7b_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT display_name FROM inspections WHERE kind = 'Pune';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
11
+ {"id": "manual_2c31add7d7b45843dec1_hi", "retrieved_id": "cbdf82266732007c41af_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT COUNT(*) FROM inspections WHERE kind = 'pending';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
12
+ {"id": "manual_2c31add7d7b45843dec1_hinglish", "retrieved_id": "6f49986bb93bef798e08_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT display_name FROM inspections WHERE kind = 'Pune';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
13
+ {"id": "manual_82c104614df1ce6e2762_en", "retrieved_id": "faee6951f2a9f841f1b7_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE salary > 100;\",\"project_id\":\"demo_specimens\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
14
+ {"id": "manual_82c104614df1ce6e2762_noisy_en", "retrieved_id": "944f318073a2bcd9624d_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE salary > 100;\",\"project_id\":\"demo_specimens\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
15
+ {"id": "manual_82c104614df1ce6e2762_hi", "retrieved_id": "7c6e0d36bbbdd7d0c41a_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specimens\",\"query\":\"SELECT * FROM specimens WHERE salary > 100;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
16
+ {"id": "manual_82c104614df1ce6e2762_hinglish", "retrieved_id": "c9d4184209742377db82_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specimens\",\"query\":\"SELECT DISTINCT category FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
17
+ {"id": "manual_35406fa024e66bcb5dd7_en", "retrieved_id": "93d7892cb1dbca43d963_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE score < 10000;\",\"project_id\":\"demo_specimens\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
18
+ {"id": "manual_35406fa024e66bcb5dd7_noisy_en", "retrieved_id": "d3e2b6e356dd98075c1f_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE score < 10000;\",\"project_id\":\"demo_specimens\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
19
+ {"id": "manual_35406fa024e66bcb5dd7_hi", "retrieved_id": "89b49bcc926a3e70ce83_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens;\",\"project_id\":\"demo_specimens\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
20
+ {"id": "manual_35406fa024e66bcb5dd7_hinglish", "retrieved_id": "8bc1ddeb33b08c2be641_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE score >= 10000;\",\"project_id\":\"demo_specimens\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
21
+ {"id": "manual_0b8db53d711baed4f4ed_en", "retrieved_id": "ee309d02322a1ea31a21_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE cost > 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
22
+ {"id": "manual_0b8db53d711baed4f4ed_noisy_en", "retrieved_id": "3c390ab6e128eb92a927_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE cost >= 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
23
+ {"id": "manual_0b8db53d711baed4f4ed_hi", "retrieved_id": "5c402e1eb92eb1a39327_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE cost >= 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
24
+ {"id": "manual_0b8db53d711baed4f4ed_hinglish", "retrieved_id": "75239d67882146f98408_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE cost >= 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
25
+ {"id": "manual_b02f421828127e2eb96b_en", "retrieved_id": "b34987da74688618f914_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT * FROM exhibits WHERE price <= 2;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
26
+ {"id": "manual_b02f421828127e2eb96b_noisy_en", "retrieved_id": "f410e7d2e9f171dbfc08_concrete_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT kind, COUNT(*) FROM exhibits GROUP BY kind HAVING COUNT(*) > 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
27
+ {"id": "manual_b02f421828127e2eb96b_hi", "retrieved_id": "b34987da74688618f914_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT * FROM exhibits WHERE price <= 2;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
28
+ {"id": "manual_b02f421828127e2eb96b_hinglish", "retrieved_id": "b706c1a087379cbbac6d_concrete_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT * FROM exhibits WHERE price <= 1;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
29
+ {"id": "manual_2e2ac3c5dcf95429daaa_en", "retrieved_id": "dbb34637fd547075f1d6_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE title IS NULL;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
30
+ {"id": "manual_2e2ac3c5dcf95429daaa_noisy_en", "retrieved_id": "c8fc7444d05f02f427f0_concrete_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE title IS NULL;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
31
+ {"id": "manual_2e2ac3c5dcf95429daaa_hi", "retrieved_id": "f7d9a89b39671e7655a1_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE title IS NULL;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
32
+ {"id": "manual_2e2ac3c5dcf95429daaa_hinglish", "retrieved_id": "c8fc7444d05f02f427f0_concrete_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE title IS NULL;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
33
+ {"id": "manual_40464b00088c9159e3d0_en", "retrieved_id": "1ba145f4ee3b2aa19fe8_en", "output": "{\"action\":\"call\",\"name\":\"app.get_weather\",\"arguments\":{\"city\":\"Mumbai\",\"unit\":\"celsius\"}}", "metrics": {"json_valid": true, "schema_valid": false, "action_correct": true, "tool_correct": false, "arguments_exact": false, "sql_equivalent": false, "success": false, "error": "Unknown tool"}}
34
+ {"id": "manual_40464b00088c9159e3d0_noisy_en", "retrieved_id": "b339be824e371ca04217_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_inspections\",\"query\":\"SELECT SUM(rating) FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
35
+ {"id": "manual_40464b00088c9159e3d0_hi", "retrieved_id": "36057c87ac77846cee49_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_inspections\",\"query\":\"SELECT COUNT(*) FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
36
+ {"id": "manual_40464b00088c9159e3d0_hinglish", "retrieved_id": "6040c6883947ec5b3821_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT COUNT(*) FROM inspections;\",\"project_id\":\"demo_inspections\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
37
+ {"id": "manual_d735c1ac1979ff1e8620_en", "retrieved_id": "caba0067fdd24c562152_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT SUM(price) FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
38
+ {"id": "manual_d735c1ac1979ff1e8620_noisy_en", "retrieved_id": "caba0067fdd24c562152_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT SUM(price) FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
39
+ {"id": "manual_d735c1ac1979ff1e8620_hi", "retrieved_id": "207b7dbc231f51af4760_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT kind, SUM(price) FROM inspections GROUP BY kind;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
40
+ {"id": "manual_d735c1ac1979ff1e8620_hinglish", "retrieved_id": "8703856ba26d23f81d4e_concrete_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT MAX(price) FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
41
+ {"id": "manual_8efcf517aee64807a8e5_en", "retrieved_id": "97a28182b0b973aa9701_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT AVG(balance) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
42
+ {"id": "manual_8efcf517aee64807a8e5_noisy_en", "retrieved_id": "b9936b4bad68a1e50b75_concrete_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT AVG(balance) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
43
+ {"id": "manual_8efcf517aee64807a8e5_hi", "retrieved_id": "e16c4dae0f3afac7f310_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT AVG(balance) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
44
+ {"id": "manual_8efcf517aee64807a8e5_hinglish", "retrieved_id": "75e3910b4be843450062_concrete_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT AVG(balance) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
45
+ {"id": "manual_cab55a7429427fbc5093_en", "retrieved_id": "39cfbf14abe75381fce5_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT DISTINCT department FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
46
+ {"id": "manual_cab55a7429427fbc5093_noisy_en", "retrieved_id": "fbfc633a68d2a1ee4dc1_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT DISTINCT department FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
47
+ {"id": "manual_cab55a7429427fbc5093_hi", "retrieved_id": "fd60f3f12d6b58fc4c63_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT DISTINCT department FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
48
+ {"id": "manual_cab55a7429427fbc5093_hinglish", "retrieved_id": "851c98b607598265e5b5_concrete_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT DISTINCT department FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
49
+ {"id": "manual_b9c176c07809f42564a0_en", "retrieved_id": "89700fa6c178672acbb9_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT MAX(amount) FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
50
+ {"id": "manual_b9c176c07809f42564a0_noisy_en", "retrieved_id": "72d5e4666d38219ea72f_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT * FROM inspections ORDER BY amount DESC LIMIT 5;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
51
+ {"id": "manual_b9c176c07809f42564a0_hi", "retrieved_id": "1ec2512105f780c64272_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT * FROM inspections ORDER BY CASE WHEN amount IS NULL THEN 1 ELSE 0 END DESC, amount DESC;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
52
+ {"id": "manual_b9c176c07809f42564a0_hinglish", "retrieved_id": "c81d8353510c1d7e35d5_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT * FROM inspections ORDER BY amount DESC LIMIT 5;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
53
+ {"id": "manual_475287613764159ee5eb_en", "retrieved_id": "27c83f55d9755a9c140a_concrete_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT category, SUM(amount) FROM reservations GROUP BY category;\",\"project_id\":\"demo_reservations\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
54
+ {"id": "manual_475287613764159ee5eb_noisy_en", "retrieved_id": "39ffd26f283fc2242233_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT category, COUNT(*) FROM reservations GROUP BY category;\",\"project_id\":\"demo_reservations\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
55
+ {"id": "manual_475287613764159ee5eb_hi", "retrieved_id": "f5157d5860b54b580212_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT DISTINCT category FROM reservations;\",\"project_id\":\"demo_reservations\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
56
+ {"id": "manual_475287613764159ee5eb_hinglish", "retrieved_id": "6dfc3a46fb6c06bcfe9b_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT category, COUNT(*) FROM reservations GROUP BY category;\",\"project_id\":\"demo_reservations\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
57
+ {"id": "manual_5a8f2e207d0efe5b018c_en", "retrieved_id": "9f9bcfa7a1b76cdf247b_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.list_tables\",\"arguments\":{\"schemas\":[\"public\"],\"project_id\":\"demo_specimens\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
58
+ {"id": "manual_5a8f2e207d0efe5b018c_noisy_en", "retrieved_id": "eebe3b000d91bc99d054_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.list_tables\",\"arguments\":{\"schemas\":[\"public\"],\"project_id\":\"demo_specimens\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
59
+ {"id": "manual_5a8f2e207d0efe5b018c_hi", "retrieved_id": "d862008c541c7c0edae1_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT display_name FROM specimens;\",\"project_id\":\"demo_specimens\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": false, "arguments_exact": false, "sql_equivalent": null, "success": false}}
60
+ {"id": "manual_5a8f2e207d0efe5b018c_hinglish", "retrieved_id": "fb4e17dc10585daed130_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.list_tables\",\"arguments\":{\"schemas\":[\"public\"],\"project_id\":\"demo_specimens\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
61
+ {"id": "manual_c4210296305105ab7472_en", "retrieved_id": "08dae4c9658c14af9a8b_noisy_en", "output": "{\"action\":\"clarify\",\"question\":\"What does best mean: which column and order?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": true, "text_exact": true}}
62
+ {"id": "manual_c4210296305105ab7472_noisy_en", "retrieved_id": "981c50947db171d5fec5_hinglish", "output": "{\"action\":\"clarify\",\"question\":\"Best ka matlab kya hai? Kaunsa column aur order?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": false, "text_exact": false}}
63
+ {"id": "manual_c4210296305105ab7472_hi", "retrieved_id": "55ce86b87b3b3440fc8e_hi", "output": "{\"action\":\"clarify\",\"question\":\"सबसे अच्छा से आपका क्या मतलब है? कौन सा कॉलम और क्रम?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": true, "text_exact": true}}
64
+ {"id": "manual_c4210296305105ab7472_hinglish", "retrieved_id": "981c50947db171d5fec5_hinglish", "output": "{\"action\":\"clarify\",\"question\":\"Best ka matlab kya hai? Kaunsa column aur order?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": true, "text_exact": true}}
65
+ {"id": "manual_754691bd1eea25d41ccf_en", "retrieved_id": "1173d51478c0f0770b25_en", "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Delhi\",\"unit\":\"fahrenheit\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
66
+ {"id": "manual_754691bd1eea25d41ccf_noisy_en", "retrieved_id": "1173d51478c0f0770b25_en", "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Delhi\",\"unit\":\"fahrenheit\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
67
+ {"id": "manual_754691bd1eea25d41ccf_hi", "retrieved_id": "04fd2c1a67c04de23381_hi", "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Delhi\",\"unit\":\"fahrenheit\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
68
+ {"id": "manual_754691bd1eea25d41ccf_hinglish", "retrieved_id": "1173d51478c0f0770b25_en", "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Delhi\",\"unit\":\"fahrenheit\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
69
+ {"id": "manual_252c6053295d69a93c94_en", "retrieved_id": "ba47da34289636eb8037_noisy_en", "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"database backups\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
70
+ {"id": "manual_252c6053295d69a93c94_noisy_en", "retrieved_id": "3ef00bb2f51a6ed18daa_en", "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"database backups\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
71
+ {"id": "manual_252c6053295d69a93c94_hi", "retrieved_id": "61c17ce29d5fca0cef4f_hi", "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"database backups\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
72
+ {"id": "manual_252c6053295d69a93c94_hinglish", "retrieved_id": "750a046184db7426f758_noisy_en", "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"database backups\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
73
+ {"id": "manual_f73e21e0eb10d6617995_en", "retrieved_id": "03bb9beb503dc3f084f0_en", "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/config/app.json\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
74
+ {"id": "manual_f73e21e0eb10d6617995_noisy_en", "retrieved_id": "8705522869caaa48e039_noisy_en", "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/config/app.json\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
75
+ {"id": "manual_f73e21e0eb10d6617995_hi", "retrieved_id": "8705522869caaa48e039_hi", "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/config/app.json\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
76
+ {"id": "manual_f73e21e0eb10d6617995_hinglish", "retrieved_id": "0e78e9ded20fe5272477_hinglish", "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/config/app.json\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
77
+ {"id": "manual_8a696e3c3522dd69d5ac_en", "retrieved_id": "8f99a3bc5f418131697b_noisy_en", "output": "{\"action\":\"call\",\"name\":\"external.get_ticket\",\"arguments\":{\"ticket_id\":\"TKT-1809\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": null, "success": false}}
78
+ {"id": "manual_8a696e3c3522dd69d5ac_noisy_en", "retrieved_id": "8730c789c1fa0e697d4f_hinglish", "output": "{\"action\":\"call\",\"name\":\"external.get_ticket\",\"arguments\":{\"ticket_id\":\"TKT-127\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": null, "success": false}}
79
+ {"id": "manual_8a696e3c3522dd69d5ac_hi", "retrieved_id": "city_29306ae64f1590153417_hi_layout_99707", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM contacts WHERE city = 'Delhi';\",\"project_id\":\"demo_inspections\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": false, "arguments_exact": false, "sql_equivalent": null, "success": false}}
80
+ {"id": "manual_8a696e3c3522dd69d5ac_hinglish", "retrieved_id": "8730c789c1fa0e697d4f_hinglish", "output": "{\"action\":\"call\",\"name\":\"external.get_ticket\",\"arguments\":{\"ticket_id\":\"TKT-127\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": null, "success": false}}
81
+ {"id": "manual_2ad3e251c936135e2005_en", "retrieved_id": "a1b28dd3b5e89d70dccb_concrete_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
82
+ {"id": "manual_2ad3e251c936135e2005_noisy_en", "retrieved_id": "755cf7dd59fa3c3634e3_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
83
+ {"id": "manual_2ad3e251c936135e2005_hi", "retrieved_id": "b7f50817c901971c7f7a_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT display_name FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
84
+ {"id": "manual_2ad3e251c936135e2005_hinglish", "retrieved_id": "a008cb35da6057a0324f_concrete_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE kind = 'North';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
85
+ {"id": "manual_a060620c638d2dc3759e_en", "retrieved_id": "48b174ae126a25408b6f_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT item_name FROM reservations;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
86
+ {"id": "manual_a060620c638d2dc3759e_noisy_en", "retrieved_id": "739c908473cacc7eadc6_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT item_name FROM reservations;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
87
+ {"id": "manual_a060620c638d2dc3759e_hi", "retrieved_id": "04c518f7497c48a695a7_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT item_name FROM reservations;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
88
+ {"id": "manual_a060620c638d2dc3759e_hinglish", "retrieved_id": "9f26d63bfba42c873223_concrete_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE balance > 500;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
89
+ {"id": "manual_eb982cf071094adaca4f_en", "retrieved_id": "f0fd5b687a47200d08cc_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT name FROM reservations WHERE category = 'Delhi';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
90
+ {"id": "manual_eb982cf071094adaca4f_noisy_en", "retrieved_id": "f0fd5b687a47200d08cc_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT name FROM reservations WHERE category = 'Delhi';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
91
+ {"id": "manual_eb982cf071094adaca4f_hi", "retrieved_id": "cbdf82266732007c41af_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT COUNT(*) FROM reservations WHERE category = 'pending';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
92
+ {"id": "manual_eb982cf071094adaca4f_hinglish", "retrieved_id": "f0fd5b687a47200d08cc_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT name FROM reservations WHERE category = 'Delhi';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
93
+ {"id": "manual_c023a5b6f95173ae856d_en", "retrieved_id": "cfd917d72e37aed08030_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT * FROM exhibits WHERE score > 50;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
94
+ {"id": "manual_c023a5b6f95173ae856d_noisy_en", "retrieved_id": "734a4347b6aef6b54122_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT * FROM exhibits WHERE score > 50;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
95
+ {"id": "manual_c023a5b6f95173ae856d_hi", "retrieved_id": "8de2a0fe75d4cb6dc3b8_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT * FROM exhibits WHERE score > 50;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
96
+ {"id": "manual_c023a5b6f95173ae856d_hinglish", "retrieved_id": "c9d4184209742377db82_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT DISTINCT kind FROM exhibits;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
97
+ {"id": "manual_affa5e5e14444cd82bb4_en", "retrieved_id": "6a3bbef7eab5a98a8204_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE salary < 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
98
+ {"id": "manual_affa5e5e14444cd82bb4_noisy_en", "retrieved_id": "6a3bbef7eab5a98a8204_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE salary < 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
99
+ {"id": "manual_affa5e5e14444cd82bb4_hi", "retrieved_id": "78d0a9c46fad0d5b9731_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT * FROM reservations ORDER BY salary ASC LIMIT 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
100
+ {"id": "manual_affa5e5e14444cd82bb4_hinglish", "retrieved_id": "7ab81eb1923cb8e1c5ea_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE salary < 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
101
+ {"id": "manual_c4f25575abfd24e3cd63_en", "retrieved_id": "44b7c6f0585479334d72_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM reservations WHERE cost <= 1;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
102
+ {"id": "manual_c4f25575abfd24e3cd63_noisy_en", "retrieved_id": "6c759f421afd3b87729c_concrete_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT region, COUNT(*) FROM reservations GROUP BY region HAVING COUNT(*) > 1;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
103
+ {"id": "manual_c4f25575abfd24e3cd63_hi", "retrieved_id": "c64c305ca0ce02c3d563_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM reservations WHERE cost >= 1;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
104
+ {"id": "manual_c4f25575abfd24e3cd63_hinglish", "retrieved_id": "b706c1a087379cbbac6d_concrete_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM reservations WHERE cost <= 1;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
105
+ {"id": "manual_23c0aa3a4596f995ad2a_en", "retrieved_id": "1ba145f4ee3b2aa19fe8_en", "output": "{\"action\":\"call\",\"name\":\"app.get_weather\",\"arguments\":{\"city\":\"Mumbai\",\"unit\":\"celsius\"}}", "metrics": {"json_valid": true, "schema_valid": false, "action_correct": true, "tool_correct": false, "arguments_exact": false, "sql_equivalent": false, "success": false, "error": "Unknown tool"}}
106
+ {"id": "manual_23c0aa3a4596f995ad2a_noisy_en", "retrieved_id": "b339be824e371ca04217_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT SUM(amount) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
107
+ {"id": "manual_23c0aa3a4596f995ad2a_hi", "retrieved_id": "36057c87ac77846cee49_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT COUNT(*) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
108
+ {"id": "manual_23c0aa3a4596f995ad2a_hinglish", "retrieved_id": "6040c6883947ec5b3821_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT COUNT(*) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
109
+ {"id": "manual_b564e1a7b1e7fc6d2ab4_en", "retrieved_id": "8d7c829657a8468028fe_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT AVG(score) FROM specimens;\",\"project_id\":\"demo_specimens\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
110
+ {"id": "manual_b564e1a7b1e7fc6d2ab4_noisy_en", "retrieved_id": "e88c7ea3cba7722735db_concrete_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT AVG(score) FROM specimens;\",\"project_id\":\"demo_specimens\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
111
+ {"id": "manual_b564e1a7b1e7fc6d2ab4_hi", "retrieved_id": "c71e53cd4a9240c41192_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT AVG(score) FROM specimens;\",\"project_id\":\"demo_specimens\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
112
+ {"id": "manual_b564e1a7b1e7fc6d2ab4_hinglish", "retrieved_id": "6ba6fa33bb36ac7792b9_concrete_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT AVG(score) FROM specimens;\",\"project_id\":\"demo_specimens\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
113
+ {"id": "manual_2164b376f732a1c371ab_en", "retrieved_id": "27c83f55d9755a9c140a_concrete_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT kind, SUM(score) FROM specimens GROUP BY kind;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
114
+ {"id": "manual_2164b376f732a1c371ab_noisy_en", "retrieved_id": "0517beaf82464fadc60f_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT kind, COUNT(*) FROM specimens GROUP BY kind;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
115
+ {"id": "manual_2164b376f732a1c371ab_hi", "retrieved_id": "d367c82ffd966970c68f_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT DISTINCT kind FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
116
+ {"id": "manual_2164b376f732a1c371ab_hinglish", "retrieved_id": "3b1bddc042f483280893_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT kind, COUNT(*) FROM specimens GROUP BY kind;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
117
+ {"id": "manual_4e42bbd40467b2b8c27f_en", "retrieved_id": "6821429a91693b8eafb4_noisy_en", "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"SQL joins\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
118
+ {"id": "manual_4e42bbd40467b2b8c27f_noisy_en", "retrieved_id": "e1237888e640d85992e3_en", "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"SQL joins\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
119
+ {"id": "manual_4e42bbd40467b2b8c27f_hi", "retrieved_id": "33f141708d95562cf305_hi", "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"SQL joins\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
120
+ {"id": "manual_4e42bbd40467b2b8c27f_hinglish", "retrieved_id": "a336da01d4ae0dde0687_noisy_en", "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"SQL joins\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
121
+ {"id": "manual_e8f90532d34c12209a83_en", "retrieved_id": "fe0c250a5b61d276b6ce_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM inspections WHERE salary > 1500;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
122
+ {"id": "manual_e8f90532d34c12209a83_noisy_en", "retrieved_id": "980ddf0f65b7700a2fb6_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT MIN(salary) FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
123
+ {"id": "manual_e8f90532d34c12209a83_hi", "retrieved_id": "df2bcb22f6685fc818a1_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM inspections WHERE salary < 1500;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
124
+ {"id": "manual_e8f90532d34c12209a83_hinglish", "retrieved_id": "f20130bbd19fc0c8fd2a_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM inspections WHERE salary >= 1500;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
125
+ {"id": "manual_04b2e5886e750df09a51_en", "retrieved_id": "348951272c18ab797a78_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE display_name IS NULL;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
126
+ {"id": "manual_04b2e5886e750df09a51_noisy_en", "retrieved_id": "c9ac52ed487c1889af4f_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE display_name IS NULL;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
127
+ {"id": "manual_04b2e5886e750df09a51_hi", "retrieved_id": "f7d9a89b39671e7655a1_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE display_name IS NULL;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
128
+ {"id": "manual_04b2e5886e750df09a51_hinglish", "retrieved_id": "0c268171e2f1d1321d9b_concrete_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE display_name IS NULL;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
129
+ {"id": "manual_d30264bbc3b08aedbc51_en", "retrieved_id": "4ef6b6c0e983997e2ad0_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT SUM(score) FROM exhibits;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
130
+ {"id": "manual_d30264bbc3b08aedbc51_noisy_en", "retrieved_id": "4ef6b6c0e983997e2ad0_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT SUM(score) FROM exhibits;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
131
+ {"id": "manual_d30264bbc3b08aedbc51_hi", "retrieved_id": "207b7dbc231f51af4760_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT city, SUM(score) FROM exhibits GROUP BY city;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
132
+ {"id": "manual_d30264bbc3b08aedbc51_hinglish", "retrieved_id": "b36fba3845c7dc8f8585_concrete_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT SUM(score) FROM exhibits;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
133
+ {"id": "manual_7dd163238936d96d0bd4_en", "retrieved_id": "64b95cbab60bce765622_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT DISTINCT city FROM reservations;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
134
+ {"id": "manual_7dd163238936d96d0bd4_noisy_en", "retrieved_id": "ba18b57d6a751c27e75e_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT DISTINCT city FROM reservations;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
135
+ {"id": "manual_7dd163238936d96d0bd4_hi", "retrieved_id": "026f4d2a18eddb751c30_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT DISTINCT city FROM reservations;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
136
+ {"id": "manual_7dd163238936d96d0bd4_hinglish", "retrieved_id": "851c98b607598265e5b5_concrete_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT DISTINCT city FROM reservations;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
137
+ {"id": "manual_fd0bab1cc08d7298f131_en", "retrieved_id": "7cad2ba59a27227cbdd1_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT MAX(salary) FROM exhibits;\",\"project_id\":\"demo_exhibits\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
138
+ {"id": "manual_fd0bab1cc08d7298f131_noisy_en", "retrieved_id": "331c202e8594d94e7dbc_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM exhibits ORDER BY salary ASC LIMIT 20;\",\"project_id\":\"demo_exhibits\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
139
+ {"id": "manual_fd0bab1cc08d7298f131_hi", "retrieved_id": "1ec2512105f780c64272_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM exhibits ORDER BY salary DESC;\",\"project_id\":\"demo_exhibits\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
140
+ {"id": "manual_fd0bab1cc08d7298f131_hinglish", "retrieved_id": "982a431f770356ef4ffe_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM exhibits ORDER BY salary DESC LIMIT 20;\",\"project_id\":\"demo_exhibits\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
141
+ {"id": "manual_6f3055c580b33340c854_en", "retrieved_id": "00319aa9372ffea135d7_en", "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/notes/setup.txt\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
142
+ {"id": "manual_6f3055c580b33340c854_noisy_en", "retrieved_id": "24837896562853f7b6a4_noisy_en", "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/notes/setup.txt\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
143
+ {"id": "manual_6f3055c580b33340c854_hi", "retrieved_id": "258c24044187ca1265c5_hi", "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/notes/setup.txt\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
144
+ {"id": "manual_6f3055c580b33340c854_hinglish", "retrieved_id": "d53f5c6036055adc1894_hinglish", "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/notes/setup.txt\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
145
+ {"id": "manual_5ebc52b3d20bde2076b3_en", "retrieved_id": "c745f3dc5489adf68488_en", "output": "{\"action\":\"call\",\"name\":\"external.get_ticket\",\"arguments\":{\"ticket_id\":\"TKT-6124\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
146
+ {"id": "manual_5ebc52b3d20bde2076b3_noisy_en", "retrieved_id": "c745f3dc5489adf68488_en", "output": "{\"action\":\"call\",\"name\":\"external.get_ticket\",\"arguments\":{\"ticket_id\":\"TKT-6124\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
147
+ {"id": "manual_5ebc52b3d20bde2076b3_hi", "retrieved_id": "c745f3dc5489adf68488_hi", "output": "{\"action\":\"call\",\"name\":\"external.get_ticket\",\"arguments\":{\"ticket_id\":\"TKT-6124\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
148
+ {"id": "manual_5ebc52b3d20bde2076b3_hinglish", "retrieved_id": "c745f3dc5489adf68488_en", "output": "{\"action\":\"call\",\"name\":\"external.get_ticket\",\"arguments\":{\"ticket_id\":\"TKT-6124\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
149
+ {"id": "manual_8ebc9e868ee558a8ddfe_en", "retrieved_id": "08dae4c9658c14af9a8b_noisy_en", "output": "{\"action\":\"clarify\",\"question\":\"What does best mean: which column and order?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": true, "text_exact": true}}
150
+ {"id": "manual_8ebc9e868ee558a8ddfe_noisy_en", "retrieved_id": "981c50947db171d5fec5_hinglish", "output": "{\"action\":\"clarify\",\"question\":\"Best ka matlab kya hai? Kaunsa column aur order?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": false, "text_exact": false}}
151
+ {"id": "manual_8ebc9e868ee558a8ddfe_hi", "retrieved_id": "55ce86b87b3b3440fc8e_hi", "output": "{\"action\":\"clarify\",\"question\":\"सबसे अच्छा से आपका क्या मतलब है? कौन सा कॉलम और क्रम?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": true, "text_exact": true}}
152
+ {"id": "manual_8ebc9e868ee558a8ddfe_hinglish", "retrieved_id": "981c50947db171d5fec5_hinglish", "output": "{\"action\":\"clarify\",\"question\":\"Best ka matlab kya hai? Kaunsa column aur order?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": true, "text_exact": true}}
153
+ {"id": "manual_88b478ce80eed61bdfb4_en", "retrieved_id": "03a2503aa4caeb5b0396_en", "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Jaipur\",\"unit\":\"celsius\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
154
+ {"id": "manual_88b478ce80eed61bdfb4_noisy_en", "retrieved_id": "03a2503aa4caeb5b0396_en", "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Jaipur\",\"unit\":\"celsius\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
155
+ {"id": "manual_88b478ce80eed61bdfb4_hi", "retrieved_id": "fcc2c16620594edcdeae_hi", "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Jaipur\",\"unit\":\"celsius\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
156
+ {"id": "manual_88b478ce80eed61bdfb4_hinglish", "retrieved_id": "03a2503aa4caeb5b0396_en", "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Jaipur\",\"unit\":\"celsius\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
157
+ {"id": "manual_9bf8948becf74e81a103_en", "retrieved_id": "9f9bcfa7a1b76cdf247b_noisy_en", "output": "{\"action\":\"call\",\"name\":\"warehouse.list_tables\",\"arguments\":{\"schemas\":[\"public\"]}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
158
+ {"id": "manual_9bf8948becf74e81a103_noisy_en", "retrieved_id": "eebe3b000d91bc99d054_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.list_tables\",\"arguments\":{\"schemas\":[\"public\"]}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
159
+ {"id": "manual_9bf8948becf74e81a103_hi", "retrieved_id": "d862008c541c7c0edae1_concrete_hi", "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT display_name FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": false, "arguments_exact": false, "sql_equivalent": null, "success": false}}
160
+ {"id": "manual_9bf8948becf74e81a103_hinglish", "retrieved_id": "fb4e17dc10585daed130_hinglish", "output": "{\"action\":\"call\",\"name\":\"warehouse.list_tables\",\"arguments\":{\"schemas\":[\"public\"]}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
evaluation/baseline-manual.summary.json ADDED
@@ -0,0 +1,1007 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "baseline": "TF-IDF nearest question plus tool-description and DDL-position binding; no expected answer or gold slots used",
3
+ "training_questions": 212073,
4
+ "examples": 160,
5
+ "seconds": 7.722788095474243,
6
+ "metrics": {
7
+ "json_valid": {
8
+ "correct": 160,
9
+ "total": 160,
10
+ "rate": 1.0
11
+ },
12
+ "schema_valid": {
13
+ "correct": 158,
14
+ "total": 160,
15
+ "rate": 0.9875
16
+ },
17
+ "action_correct": {
18
+ "correct": 160,
19
+ "total": 160,
20
+ "rate": 1.0
21
+ },
22
+ "tool_correct": {
23
+ "correct": 147,
24
+ "total": 152,
25
+ "rate": 0.9671052631578947
26
+ },
27
+ "arguments_exact": {
28
+ "correct": 109,
29
+ "total": 152,
30
+ "rate": 0.7171052631578947
31
+ },
32
+ "sql_equivalent": {
33
+ "correct": 75,
34
+ "total": 112,
35
+ "rate": 0.6696428571428571
36
+ },
37
+ "success": {
38
+ "correct": 115,
39
+ "total": 160,
40
+ "rate": 0.71875
41
+ }
42
+ },
43
+ "groups": {
44
+ "language:en": {
45
+ "json_valid": {
46
+ "correct": 40,
47
+ "total": 40,
48
+ "rate": 1.0
49
+ },
50
+ "schema_valid": {
51
+ "correct": 38,
52
+ "total": 40,
53
+ "rate": 0.95
54
+ },
55
+ "action_correct": {
56
+ "correct": 40,
57
+ "total": 40,
58
+ "rate": 1.0
59
+ },
60
+ "tool_correct": {
61
+ "correct": 36,
62
+ "total": 38,
63
+ "rate": 0.9473684210526315
64
+ },
65
+ "arguments_exact": {
66
+ "correct": 29,
67
+ "total": 38,
68
+ "rate": 0.7631578947368421
69
+ },
70
+ "sql_equivalent": {
71
+ "correct": 20,
72
+ "total": 28,
73
+ "rate": 0.7142857142857143
74
+ },
75
+ "success": {
76
+ "correct": 31,
77
+ "total": 40,
78
+ "rate": 0.775
79
+ }
80
+ },
81
+ "backend:mysql": {
82
+ "json_valid": {
83
+ "correct": 80,
84
+ "total": 80,
85
+ "rate": 1.0
86
+ },
87
+ "schema_valid": {
88
+ "correct": 79,
89
+ "total": 80,
90
+ "rate": 0.9875
91
+ },
92
+ "action_correct": {
93
+ "correct": 80,
94
+ "total": 80,
95
+ "rate": 1.0
96
+ },
97
+ "tool_correct": {
98
+ "correct": 74,
99
+ "total": 76,
100
+ "rate": 0.9736842105263158
101
+ },
102
+ "arguments_exact": {
103
+ "correct": 57,
104
+ "total": 76,
105
+ "rate": 0.75
106
+ },
107
+ "sql_equivalent": {
108
+ "correct": 38,
109
+ "total": 56,
110
+ "rate": 0.6785714285714286
111
+ },
112
+ "success": {
113
+ "correct": 60,
114
+ "total": 80,
115
+ "rate": 0.75
116
+ }
117
+ },
118
+ "operation:all": {
119
+ "json_valid": {
120
+ "correct": 8,
121
+ "total": 8,
122
+ "rate": 1.0
123
+ },
124
+ "schema_valid": {
125
+ "correct": 8,
126
+ "total": 8,
127
+ "rate": 1.0
128
+ },
129
+ "action_correct": {
130
+ "correct": 8,
131
+ "total": 8,
132
+ "rate": 1.0
133
+ },
134
+ "tool_correct": {
135
+ "correct": 8,
136
+ "total": 8,
137
+ "rate": 1.0
138
+ },
139
+ "arguments_exact": {
140
+ "correct": 4,
141
+ "total": 8,
142
+ "rate": 0.5
143
+ },
144
+ "sql_equivalent": {
145
+ "correct": 4,
146
+ "total": 8,
147
+ "rate": 0.5
148
+ },
149
+ "success": {
150
+ "correct": 4,
151
+ "total": 8,
152
+ "rate": 0.5
153
+ }
154
+ },
155
+ "language:noisy_en": {
156
+ "json_valid": {
157
+ "correct": 40,
158
+ "total": 40,
159
+ "rate": 1.0
160
+ },
161
+ "schema_valid": {
162
+ "correct": 40,
163
+ "total": 40,
164
+ "rate": 1.0
165
+ },
166
+ "action_correct": {
167
+ "correct": 40,
168
+ "total": 40,
169
+ "rate": 1.0
170
+ },
171
+ "tool_correct": {
172
+ "correct": 38,
173
+ "total": 38,
174
+ "rate": 1.0
175
+ },
176
+ "arguments_exact": {
177
+ "correct": 31,
178
+ "total": 38,
179
+ "rate": 0.8157894736842105
180
+ },
181
+ "sql_equivalent": {
182
+ "correct": 22,
183
+ "total": 28,
184
+ "rate": 0.7857142857142857
185
+ },
186
+ "success": {
187
+ "correct": 31,
188
+ "total": 40,
189
+ "rate": 0.775
190
+ }
191
+ },
192
+ "language:hi": {
193
+ "json_valid": {
194
+ "correct": 40,
195
+ "total": 40,
196
+ "rate": 1.0
197
+ },
198
+ "schema_valid": {
199
+ "correct": 40,
200
+ "total": 40,
201
+ "rate": 1.0
202
+ },
203
+ "action_correct": {
204
+ "correct": 40,
205
+ "total": 40,
206
+ "rate": 1.0
207
+ },
208
+ "tool_correct": {
209
+ "correct": 35,
210
+ "total": 38,
211
+ "rate": 0.9210526315789473
212
+ },
213
+ "arguments_exact": {
214
+ "correct": 21,
215
+ "total": 38,
216
+ "rate": 0.5526315789473685
217
+ },
218
+ "sql_equivalent": {
219
+ "correct": 14,
220
+ "total": 28,
221
+ "rate": 0.5
222
+ },
223
+ "success": {
224
+ "correct": 23,
225
+ "total": 40,
226
+ "rate": 0.575
227
+ }
228
+ },
229
+ "language:hinglish": {
230
+ "json_valid": {
231
+ "correct": 40,
232
+ "total": 40,
233
+ "rate": 1.0
234
+ },
235
+ "schema_valid": {
236
+ "correct": 40,
237
+ "total": 40,
238
+ "rate": 1.0
239
+ },
240
+ "action_correct": {
241
+ "correct": 40,
242
+ "total": 40,
243
+ "rate": 1.0
244
+ },
245
+ "tool_correct": {
246
+ "correct": 38,
247
+ "total": 38,
248
+ "rate": 1.0
249
+ },
250
+ "arguments_exact": {
251
+ "correct": 28,
252
+ "total": 38,
253
+ "rate": 0.7368421052631579
254
+ },
255
+ "sql_equivalent": {
256
+ "correct": 19,
257
+ "total": 28,
258
+ "rate": 0.6785714285714286
259
+ },
260
+ "success": {
261
+ "correct": 30,
262
+ "total": 40,
263
+ "rate": 0.75
264
+ }
265
+ },
266
+ "backend:supabase": {
267
+ "json_valid": {
268
+ "correct": 80,
269
+ "total": 80,
270
+ "rate": 1.0
271
+ },
272
+ "schema_valid": {
273
+ "correct": 79,
274
+ "total": 80,
275
+ "rate": 0.9875
276
+ },
277
+ "action_correct": {
278
+ "correct": 80,
279
+ "total": 80,
280
+ "rate": 1.0
281
+ },
282
+ "tool_correct": {
283
+ "correct": 73,
284
+ "total": 76,
285
+ "rate": 0.9605263157894737
286
+ },
287
+ "arguments_exact": {
288
+ "correct": 52,
289
+ "total": 76,
290
+ "rate": 0.6842105263157895
291
+ },
292
+ "sql_equivalent": {
293
+ "correct": 37,
294
+ "total": 56,
295
+ "rate": 0.6607142857142857
296
+ },
297
+ "success": {
298
+ "correct": 55,
299
+ "total": 80,
300
+ "rate": 0.6875
301
+ }
302
+ },
303
+ "operation:project": {
304
+ "json_valid": {
305
+ "correct": 8,
306
+ "total": 8,
307
+ "rate": 1.0
308
+ },
309
+ "schema_valid": {
310
+ "correct": 8,
311
+ "total": 8,
312
+ "rate": 1.0
313
+ },
314
+ "action_correct": {
315
+ "correct": 8,
316
+ "total": 8,
317
+ "rate": 1.0
318
+ },
319
+ "tool_correct": {
320
+ "correct": 8,
321
+ "total": 8,
322
+ "rate": 1.0
323
+ },
324
+ "arguments_exact": {
325
+ "correct": 6,
326
+ "total": 8,
327
+ "rate": 0.75
328
+ },
329
+ "sql_equivalent": {
330
+ "correct": 6,
331
+ "total": 8,
332
+ "rate": 0.75
333
+ },
334
+ "success": {
335
+ "correct": 6,
336
+ "total": 8,
337
+ "rate": 0.75
338
+ }
339
+ },
340
+ "operation:project_eq": {
341
+ "json_valid": {
342
+ "correct": 8,
343
+ "total": 8,
344
+ "rate": 1.0
345
+ },
346
+ "schema_valid": {
347
+ "correct": 8,
348
+ "total": 8,
349
+ "rate": 1.0
350
+ },
351
+ "action_correct": {
352
+ "correct": 8,
353
+ "total": 8,
354
+ "rate": 1.0
355
+ },
356
+ "tool_correct": {
357
+ "correct": 8,
358
+ "total": 8,
359
+ "rate": 1.0
360
+ },
361
+ "arguments_exact": {
362
+ "correct": 6,
363
+ "total": 8,
364
+ "rate": 0.75
365
+ },
366
+ "sql_equivalent": {
367
+ "correct": 6,
368
+ "total": 8,
369
+ "rate": 0.75
370
+ },
371
+ "success": {
372
+ "correct": 6,
373
+ "total": 8,
374
+ "rate": 0.75
375
+ }
376
+ },
377
+ "operation:gt": {
378
+ "json_valid": {
379
+ "correct": 8,
380
+ "total": 8,
381
+ "rate": 1.0
382
+ },
383
+ "schema_valid": {
384
+ "correct": 8,
385
+ "total": 8,
386
+ "rate": 1.0
387
+ },
388
+ "action_correct": {
389
+ "correct": 8,
390
+ "total": 8,
391
+ "rate": 1.0
392
+ },
393
+ "tool_correct": {
394
+ "correct": 8,
395
+ "total": 8,
396
+ "rate": 1.0
397
+ },
398
+ "arguments_exact": {
399
+ "correct": 6,
400
+ "total": 8,
401
+ "rate": 0.75
402
+ },
403
+ "sql_equivalent": {
404
+ "correct": 6,
405
+ "total": 8,
406
+ "rate": 0.75
407
+ },
408
+ "success": {
409
+ "correct": 6,
410
+ "total": 8,
411
+ "rate": 0.75
412
+ }
413
+ },
414
+ "operation:lt": {
415
+ "json_valid": {
416
+ "correct": 8,
417
+ "total": 8,
418
+ "rate": 1.0
419
+ },
420
+ "schema_valid": {
421
+ "correct": 8,
422
+ "total": 8,
423
+ "rate": 1.0
424
+ },
425
+ "action_correct": {
426
+ "correct": 8,
427
+ "total": 8,
428
+ "rate": 1.0
429
+ },
430
+ "tool_correct": {
431
+ "correct": 8,
432
+ "total": 8,
433
+ "rate": 1.0
434
+ },
435
+ "arguments_exact": {
436
+ "correct": 5,
437
+ "total": 8,
438
+ "rate": 0.625
439
+ },
440
+ "sql_equivalent": {
441
+ "correct": 5,
442
+ "total": 8,
443
+ "rate": 0.625
444
+ },
445
+ "success": {
446
+ "correct": 5,
447
+ "total": 8,
448
+ "rate": 0.625
449
+ }
450
+ },
451
+ "operation:gte": {
452
+ "json_valid": {
453
+ "correct": 8,
454
+ "total": 8,
455
+ "rate": 1.0
456
+ },
457
+ "schema_valid": {
458
+ "correct": 8,
459
+ "total": 8,
460
+ "rate": 1.0
461
+ },
462
+ "action_correct": {
463
+ "correct": 8,
464
+ "total": 8,
465
+ "rate": 1.0
466
+ },
467
+ "tool_correct": {
468
+ "correct": 8,
469
+ "total": 8,
470
+ "rate": 1.0
471
+ },
472
+ "arguments_exact": {
473
+ "correct": 4,
474
+ "total": 8,
475
+ "rate": 0.5
476
+ },
477
+ "sql_equivalent": {
478
+ "correct": 4,
479
+ "total": 8,
480
+ "rate": 0.5
481
+ },
482
+ "success": {
483
+ "correct": 4,
484
+ "total": 8,
485
+ "rate": 0.5
486
+ }
487
+ },
488
+ "operation:lte": {
489
+ "json_valid": {
490
+ "correct": 8,
491
+ "total": 8,
492
+ "rate": 1.0
493
+ },
494
+ "schema_valid": {
495
+ "correct": 8,
496
+ "total": 8,
497
+ "rate": 1.0
498
+ },
499
+ "action_correct": {
500
+ "correct": 8,
501
+ "total": 8,
502
+ "rate": 1.0
503
+ },
504
+ "tool_correct": {
505
+ "correct": 8,
506
+ "total": 8,
507
+ "rate": 1.0
508
+ },
509
+ "arguments_exact": {
510
+ "correct": 4,
511
+ "total": 8,
512
+ "rate": 0.5
513
+ },
514
+ "sql_equivalent": {
515
+ "correct": 4,
516
+ "total": 8,
517
+ "rate": 0.5
518
+ },
519
+ "success": {
520
+ "correct": 4,
521
+ "total": 8,
522
+ "rate": 0.5
523
+ }
524
+ },
525
+ "operation:null": {
526
+ "json_valid": {
527
+ "correct": 8,
528
+ "total": 8,
529
+ "rate": 1.0
530
+ },
531
+ "schema_valid": {
532
+ "correct": 8,
533
+ "total": 8,
534
+ "rate": 1.0
535
+ },
536
+ "action_correct": {
537
+ "correct": 8,
538
+ "total": 8,
539
+ "rate": 1.0
540
+ },
541
+ "tool_correct": {
542
+ "correct": 8,
543
+ "total": 8,
544
+ "rate": 1.0
545
+ },
546
+ "arguments_exact": {
547
+ "correct": 8,
548
+ "total": 8,
549
+ "rate": 1.0
550
+ },
551
+ "sql_equivalent": {
552
+ "correct": 8,
553
+ "total": 8,
554
+ "rate": 1.0
555
+ },
556
+ "success": {
557
+ "correct": 8,
558
+ "total": 8,
559
+ "rate": 1.0
560
+ }
561
+ },
562
+ "operation:count": {
563
+ "json_valid": {
564
+ "correct": 8,
565
+ "total": 8,
566
+ "rate": 1.0
567
+ },
568
+ "schema_valid": {
569
+ "correct": 6,
570
+ "total": 8,
571
+ "rate": 0.75
572
+ },
573
+ "action_correct": {
574
+ "correct": 8,
575
+ "total": 8,
576
+ "rate": 1.0
577
+ },
578
+ "tool_correct": {
579
+ "correct": 6,
580
+ "total": 8,
581
+ "rate": 0.75
582
+ },
583
+ "arguments_exact": {
584
+ "correct": 4,
585
+ "total": 8,
586
+ "rate": 0.5
587
+ },
588
+ "sql_equivalent": {
589
+ "correct": 4,
590
+ "total": 8,
591
+ "rate": 0.5
592
+ },
593
+ "success": {
594
+ "correct": 4,
595
+ "total": 8,
596
+ "rate": 0.5
597
+ }
598
+ },
599
+ "operation:sum": {
600
+ "json_valid": {
601
+ "correct": 8,
602
+ "total": 8,
603
+ "rate": 1.0
604
+ },
605
+ "schema_valid": {
606
+ "correct": 8,
607
+ "total": 8,
608
+ "rate": 1.0
609
+ },
610
+ "action_correct": {
611
+ "correct": 8,
612
+ "total": 8,
613
+ "rate": 1.0
614
+ },
615
+ "tool_correct": {
616
+ "correct": 8,
617
+ "total": 8,
618
+ "rate": 1.0
619
+ },
620
+ "arguments_exact": {
621
+ "correct": 5,
622
+ "total": 8,
623
+ "rate": 0.625
624
+ },
625
+ "sql_equivalent": {
626
+ "correct": 5,
627
+ "total": 8,
628
+ "rate": 0.625
629
+ },
630
+ "success": {
631
+ "correct": 5,
632
+ "total": 8,
633
+ "rate": 0.625
634
+ }
635
+ },
636
+ "operation:avg": {
637
+ "json_valid": {
638
+ "correct": 8,
639
+ "total": 8,
640
+ "rate": 1.0
641
+ },
642
+ "schema_valid": {
643
+ "correct": 8,
644
+ "total": 8,
645
+ "rate": 1.0
646
+ },
647
+ "action_correct": {
648
+ "correct": 8,
649
+ "total": 8,
650
+ "rate": 1.0
651
+ },
652
+ "tool_correct": {
653
+ "correct": 8,
654
+ "total": 8,
655
+ "rate": 1.0
656
+ },
657
+ "arguments_exact": {
658
+ "correct": 8,
659
+ "total": 8,
660
+ "rate": 1.0
661
+ },
662
+ "sql_equivalent": {
663
+ "correct": 8,
664
+ "total": 8,
665
+ "rate": 1.0
666
+ },
667
+ "success": {
668
+ "correct": 8,
669
+ "total": 8,
670
+ "rate": 1.0
671
+ }
672
+ },
673
+ "operation:distinct": {
674
+ "json_valid": {
675
+ "correct": 8,
676
+ "total": 8,
677
+ "rate": 1.0
678
+ },
679
+ "schema_valid": {
680
+ "correct": 8,
681
+ "total": 8,
682
+ "rate": 1.0
683
+ },
684
+ "action_correct": {
685
+ "correct": 8,
686
+ "total": 8,
687
+ "rate": 1.0
688
+ },
689
+ "tool_correct": {
690
+ "correct": 8,
691
+ "total": 8,
692
+ "rate": 1.0
693
+ },
694
+ "arguments_exact": {
695
+ "correct": 8,
696
+ "total": 8,
697
+ "rate": 1.0
698
+ },
699
+ "sql_equivalent": {
700
+ "correct": 8,
701
+ "total": 8,
702
+ "rate": 1.0
703
+ },
704
+ "success": {
705
+ "correct": 8,
706
+ "total": 8,
707
+ "rate": 1.0
708
+ }
709
+ },
710
+ "operation:top": {
711
+ "json_valid": {
712
+ "correct": 8,
713
+ "total": 8,
714
+ "rate": 1.0
715
+ },
716
+ "schema_valid": {
717
+ "correct": 8,
718
+ "total": 8,
719
+ "rate": 1.0
720
+ },
721
+ "action_correct": {
722
+ "correct": 8,
723
+ "total": 8,
724
+ "rate": 1.0
725
+ },
726
+ "tool_correct": {
727
+ "correct": 8,
728
+ "total": 8,
729
+ "rate": 1.0
730
+ },
731
+ "arguments_exact": {
732
+ "correct": 3,
733
+ "total": 8,
734
+ "rate": 0.375
735
+ },
736
+ "sql_equivalent": {
737
+ "correct": 3,
738
+ "total": 8,
739
+ "rate": 0.375
740
+ },
741
+ "success": {
742
+ "correct": 3,
743
+ "total": 8,
744
+ "rate": 0.375
745
+ }
746
+ },
747
+ "operation:group_count": {
748
+ "json_valid": {
749
+ "correct": 8,
750
+ "total": 8,
751
+ "rate": 1.0
752
+ },
753
+ "schema_valid": {
754
+ "correct": 8,
755
+ "total": 8,
756
+ "rate": 1.0
757
+ },
758
+ "action_correct": {
759
+ "correct": 8,
760
+ "total": 8,
761
+ "rate": 1.0
762
+ },
763
+ "tool_correct": {
764
+ "correct": 8,
765
+ "total": 8,
766
+ "rate": 1.0
767
+ },
768
+ "arguments_exact": {
769
+ "correct": 4,
770
+ "total": 8,
771
+ "rate": 0.5
772
+ },
773
+ "sql_equivalent": {
774
+ "correct": 4,
775
+ "total": 8,
776
+ "rate": 0.5
777
+ },
778
+ "success": {
779
+ "correct": 4,
780
+ "total": 8,
781
+ "rate": 0.5
782
+ }
783
+ },
784
+ "operation:list_tables": {
785
+ "json_valid": {
786
+ "correct": 8,
787
+ "total": 8,
788
+ "rate": 1.0
789
+ },
790
+ "schema_valid": {
791
+ "correct": 8,
792
+ "total": 8,
793
+ "rate": 1.0
794
+ },
795
+ "action_correct": {
796
+ "correct": 8,
797
+ "total": 8,
798
+ "rate": 1.0
799
+ },
800
+ "tool_correct": {
801
+ "correct": 6,
802
+ "total": 8,
803
+ "rate": 0.75
804
+ },
805
+ "arguments_exact": {
806
+ "correct": 6,
807
+ "total": 8,
808
+ "rate": 0.75
809
+ },
810
+ "sql_equivalent": {
811
+ "correct": 0,
812
+ "total": 0,
813
+ "rate": 0.0
814
+ },
815
+ "success": {
816
+ "correct": 6,
817
+ "total": 8,
818
+ "rate": 0.75
819
+ }
820
+ },
821
+ "operation:ambiguous": {
822
+ "json_valid": {
823
+ "correct": 8,
824
+ "total": 8,
825
+ "rate": 1.0
826
+ },
827
+ "schema_valid": {
828
+ "correct": 8,
829
+ "total": 8,
830
+ "rate": 1.0
831
+ },
832
+ "action_correct": {
833
+ "correct": 8,
834
+ "total": 8,
835
+ "rate": 1.0
836
+ },
837
+ "tool_correct": {
838
+ "correct": 0,
839
+ "total": 0,
840
+ "rate": 0.0
841
+ },
842
+ "arguments_exact": {
843
+ "correct": 0,
844
+ "total": 0,
845
+ "rate": 0.0
846
+ },
847
+ "sql_equivalent": {
848
+ "correct": 0,
849
+ "total": 0,
850
+ "rate": 0.0
851
+ },
852
+ "success": {
853
+ "correct": 6,
854
+ "total": 8,
855
+ "rate": 0.75
856
+ }
857
+ },
858
+ "operation:weather": {
859
+ "json_valid": {
860
+ "correct": 8,
861
+ "total": 8,
862
+ "rate": 1.0
863
+ },
864
+ "schema_valid": {
865
+ "correct": 8,
866
+ "total": 8,
867
+ "rate": 1.0
868
+ },
869
+ "action_correct": {
870
+ "correct": 8,
871
+ "total": 8,
872
+ "rate": 1.0
873
+ },
874
+ "tool_correct": {
875
+ "correct": 8,
876
+ "total": 8,
877
+ "rate": 1.0
878
+ },
879
+ "arguments_exact": {
880
+ "correct": 8,
881
+ "total": 8,
882
+ "rate": 1.0
883
+ },
884
+ "sql_equivalent": {
885
+ "correct": 0,
886
+ "total": 0,
887
+ "rate": 0.0
888
+ },
889
+ "success": {
890
+ "correct": 8,
891
+ "total": 8,
892
+ "rate": 1.0
893
+ }
894
+ },
895
+ "operation:search": {
896
+ "json_valid": {
897
+ "correct": 8,
898
+ "total": 8,
899
+ "rate": 1.0
900
+ },
901
+ "schema_valid": {
902
+ "correct": 8,
903
+ "total": 8,
904
+ "rate": 1.0
905
+ },
906
+ "action_correct": {
907
+ "correct": 8,
908
+ "total": 8,
909
+ "rate": 1.0
910
+ },
911
+ "tool_correct": {
912
+ "correct": 8,
913
+ "total": 8,
914
+ "rate": 1.0
915
+ },
916
+ "arguments_exact": {
917
+ "correct": 8,
918
+ "total": 8,
919
+ "rate": 1.0
920
+ },
921
+ "sql_equivalent": {
922
+ "correct": 0,
923
+ "total": 0,
924
+ "rate": 0.0
925
+ },
926
+ "success": {
927
+ "correct": 8,
928
+ "total": 8,
929
+ "rate": 1.0
930
+ }
931
+ },
932
+ "operation:read_file": {
933
+ "json_valid": {
934
+ "correct": 8,
935
+ "total": 8,
936
+ "rate": 1.0
937
+ },
938
+ "schema_valid": {
939
+ "correct": 8,
940
+ "total": 8,
941
+ "rate": 1.0
942
+ },
943
+ "action_correct": {
944
+ "correct": 8,
945
+ "total": 8,
946
+ "rate": 1.0
947
+ },
948
+ "tool_correct": {
949
+ "correct": 8,
950
+ "total": 8,
951
+ "rate": 1.0
952
+ },
953
+ "arguments_exact": {
954
+ "correct": 8,
955
+ "total": 8,
956
+ "rate": 1.0
957
+ },
958
+ "sql_equivalent": {
959
+ "correct": 0,
960
+ "total": 0,
961
+ "rate": 0.0
962
+ },
963
+ "success": {
964
+ "correct": 8,
965
+ "total": 8,
966
+ "rate": 1.0
967
+ }
968
+ },
969
+ "operation:ticket": {
970
+ "json_valid": {
971
+ "correct": 8,
972
+ "total": 8,
973
+ "rate": 1.0
974
+ },
975
+ "schema_valid": {
976
+ "correct": 8,
977
+ "total": 8,
978
+ "rate": 1.0
979
+ },
980
+ "action_correct": {
981
+ "correct": 8,
982
+ "total": 8,
983
+ "rate": 1.0
984
+ },
985
+ "tool_correct": {
986
+ "correct": 7,
987
+ "total": 8,
988
+ "rate": 0.875
989
+ },
990
+ "arguments_exact": {
991
+ "correct": 4,
992
+ "total": 8,
993
+ "rate": 0.5
994
+ },
995
+ "sql_equivalent": {
996
+ "correct": 0,
997
+ "total": 0,
998
+ "rate": 0.0
999
+ },
1000
+ "success": {
1001
+ "correct": 4,
1002
+ "total": 8,
1003
+ "rate": 0.5
1004
+ }
1005
+ }
1006
+ }
1007
+ }
evaluation/baseline-test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
evaluation/baseline-test.summary.json ADDED
@@ -0,0 +1,1932 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "baseline": "TF-IDF nearest question plus tool-description and DDL-position binding; no expected answer or gold slots used",
3
+ "training_questions": 212073,
4
+ "examples": 1196,
5
+ "seconds": 9.818428039550781,
6
+ "metrics": {
7
+ "json_valid": {
8
+ "correct": 1196,
9
+ "total": 1196,
10
+ "rate": 1.0
11
+ },
12
+ "schema_valid": {
13
+ "correct": 1187,
14
+ "total": 1196,
15
+ "rate": 0.9924749163879598
16
+ },
17
+ "action_correct": {
18
+ "correct": 1184,
19
+ "total": 1196,
20
+ "rate": 0.9899665551839465
21
+ },
22
+ "tool_correct": {
23
+ "correct": 1077,
24
+ "total": 1100,
25
+ "rate": 0.9790909090909091
26
+ },
27
+ "arguments_exact": {
28
+ "correct": 753,
29
+ "total": 1100,
30
+ "rate": 0.6845454545454546
31
+ },
32
+ "sql_equivalent": {
33
+ "correct": 664,
34
+ "total": 912,
35
+ "rate": 0.7280701754385965
36
+ },
37
+ "success": {
38
+ "correct": 881,
39
+ "total": 1196,
40
+ "rate": 0.7366220735785953
41
+ }
42
+ },
43
+ "groups": {
44
+ "language:en": {
45
+ "json_valid": {
46
+ "correct": 299,
47
+ "total": 299,
48
+ "rate": 1.0
49
+ },
50
+ "schema_valid": {
51
+ "correct": 296,
52
+ "total": 299,
53
+ "rate": 0.9899665551839465
54
+ },
55
+ "action_correct": {
56
+ "correct": 293,
57
+ "total": 299,
58
+ "rate": 0.979933110367893
59
+ },
60
+ "tool_correct": {
61
+ "correct": 268,
62
+ "total": 275,
63
+ "rate": 0.9745454545454545
64
+ },
65
+ "arguments_exact": {
66
+ "correct": 169,
67
+ "total": 275,
68
+ "rate": 0.6145454545454545
69
+ },
70
+ "sql_equivalent": {
71
+ "correct": 146,
72
+ "total": 228,
73
+ "rate": 0.6403508771929824
74
+ },
75
+ "success": {
76
+ "correct": 197,
77
+ "total": 299,
78
+ "rate": 0.6588628762541806
79
+ }
80
+ },
81
+ "backend:mysql": {
82
+ "json_valid": {
83
+ "correct": 608,
84
+ "total": 608,
85
+ "rate": 1.0
86
+ },
87
+ "schema_valid": {
88
+ "correct": 608,
89
+ "total": 608,
90
+ "rate": 1.0
91
+ },
92
+ "action_correct": {
93
+ "correct": 601,
94
+ "total": 608,
95
+ "rate": 0.9884868421052632
96
+ },
97
+ "tool_correct": {
98
+ "correct": 543,
99
+ "total": 556,
100
+ "rate": 0.9766187050359713
101
+ },
102
+ "arguments_exact": {
103
+ "correct": 391,
104
+ "total": 556,
105
+ "rate": 0.7032374100719424
106
+ },
107
+ "sql_equivalent": {
108
+ "correct": 351,
109
+ "total": 476,
110
+ "rate": 0.7373949579831933
111
+ },
112
+ "success": {
113
+ "correct": 452,
114
+ "total": 608,
115
+ "rate": 0.743421052631579
116
+ }
117
+ },
118
+ "operation:all": {
119
+ "json_valid": {
120
+ "correct": 28,
121
+ "total": 28,
122
+ "rate": 1.0
123
+ },
124
+ "schema_valid": {
125
+ "correct": 28,
126
+ "total": 28,
127
+ "rate": 1.0
128
+ },
129
+ "action_correct": {
130
+ "correct": 28,
131
+ "total": 28,
132
+ "rate": 1.0
133
+ },
134
+ "tool_correct": {
135
+ "correct": 28,
136
+ "total": 28,
137
+ "rate": 1.0
138
+ },
139
+ "arguments_exact": {
140
+ "correct": 28,
141
+ "total": 28,
142
+ "rate": 1.0
143
+ },
144
+ "sql_equivalent": {
145
+ "correct": 28,
146
+ "total": 28,
147
+ "rate": 1.0
148
+ },
149
+ "success": {
150
+ "correct": 28,
151
+ "total": 28,
152
+ "rate": 1.0
153
+ }
154
+ },
155
+ "language:noisy_en": {
156
+ "json_valid": {
157
+ "correct": 299,
158
+ "total": 299,
159
+ "rate": 1.0
160
+ },
161
+ "schema_valid": {
162
+ "correct": 299,
163
+ "total": 299,
164
+ "rate": 1.0
165
+ },
166
+ "action_correct": {
167
+ "correct": 293,
168
+ "total": 299,
169
+ "rate": 0.979933110367893
170
+ },
171
+ "tool_correct": {
172
+ "correct": 270,
173
+ "total": 275,
174
+ "rate": 0.9818181818181818
175
+ },
176
+ "arguments_exact": {
177
+ "correct": 195,
178
+ "total": 275,
179
+ "rate": 0.7090909090909091
180
+ },
181
+ "sql_equivalent": {
182
+ "correct": 166,
183
+ "total": 228,
184
+ "rate": 0.7280701754385965
185
+ },
186
+ "success": {
187
+ "correct": 221,
188
+ "total": 299,
189
+ "rate": 0.7391304347826086
190
+ }
191
+ },
192
+ "language:hi": {
193
+ "json_valid": {
194
+ "correct": 299,
195
+ "total": 299,
196
+ "rate": 1.0
197
+ },
198
+ "schema_valid": {
199
+ "correct": 299,
200
+ "total": 299,
201
+ "rate": 1.0
202
+ },
203
+ "action_correct": {
204
+ "correct": 299,
205
+ "total": 299,
206
+ "rate": 1.0
207
+ },
208
+ "tool_correct": {
209
+ "correct": 270,
210
+ "total": 275,
211
+ "rate": 0.9818181818181818
212
+ },
213
+ "arguments_exact": {
214
+ "correct": 183,
215
+ "total": 275,
216
+ "rate": 0.6654545454545454
217
+ },
218
+ "sql_equivalent": {
219
+ "correct": 162,
220
+ "total": 228,
221
+ "rate": 0.7105263157894737
222
+ },
223
+ "success": {
224
+ "correct": 222,
225
+ "total": 299,
226
+ "rate": 0.7424749163879598
227
+ }
228
+ },
229
+ "language:hinglish": {
230
+ "json_valid": {
231
+ "correct": 299,
232
+ "total": 299,
233
+ "rate": 1.0
234
+ },
235
+ "schema_valid": {
236
+ "correct": 293,
237
+ "total": 299,
238
+ "rate": 0.979933110367893
239
+ },
240
+ "action_correct": {
241
+ "correct": 299,
242
+ "total": 299,
243
+ "rate": 1.0
244
+ },
245
+ "tool_correct": {
246
+ "correct": 269,
247
+ "total": 275,
248
+ "rate": 0.9781818181818182
249
+ },
250
+ "arguments_exact": {
251
+ "correct": 206,
252
+ "total": 275,
253
+ "rate": 0.7490909090909091
254
+ },
255
+ "sql_equivalent": {
256
+ "correct": 190,
257
+ "total": 228,
258
+ "rate": 0.8333333333333334
259
+ },
260
+ "success": {
261
+ "correct": 241,
262
+ "total": 299,
263
+ "rate": 0.8060200668896321
264
+ }
265
+ },
266
+ "backend:supabase": {
267
+ "json_valid": {
268
+ "correct": 588,
269
+ "total": 588,
270
+ "rate": 1.0
271
+ },
272
+ "schema_valid": {
273
+ "correct": 579,
274
+ "total": 588,
275
+ "rate": 0.9846938775510204
276
+ },
277
+ "action_correct": {
278
+ "correct": 583,
279
+ "total": 588,
280
+ "rate": 0.9914965986394558
281
+ },
282
+ "tool_correct": {
283
+ "correct": 534,
284
+ "total": 544,
285
+ "rate": 0.9816176470588235
286
+ },
287
+ "arguments_exact": {
288
+ "correct": 362,
289
+ "total": 544,
290
+ "rate": 0.6654411764705882
291
+ },
292
+ "sql_equivalent": {
293
+ "correct": 313,
294
+ "total": 436,
295
+ "rate": 0.7178899082568807
296
+ },
297
+ "success": {
298
+ "correct": 429,
299
+ "total": 588,
300
+ "rate": 0.7295918367346939
301
+ }
302
+ },
303
+ "operation:project": {
304
+ "json_valid": {
305
+ "correct": 28,
306
+ "total": 28,
307
+ "rate": 1.0
308
+ },
309
+ "schema_valid": {
310
+ "correct": 28,
311
+ "total": 28,
312
+ "rate": 1.0
313
+ },
314
+ "action_correct": {
315
+ "correct": 28,
316
+ "total": 28,
317
+ "rate": 1.0
318
+ },
319
+ "tool_correct": {
320
+ "correct": 28,
321
+ "total": 28,
322
+ "rate": 1.0
323
+ },
324
+ "arguments_exact": {
325
+ "correct": 21,
326
+ "total": 28,
327
+ "rate": 0.75
328
+ },
329
+ "sql_equivalent": {
330
+ "correct": 21,
331
+ "total": 28,
332
+ "rate": 0.75
333
+ },
334
+ "success": {
335
+ "correct": 21,
336
+ "total": 28,
337
+ "rate": 0.75
338
+ }
339
+ },
340
+ "operation:eq": {
341
+ "json_valid": {
342
+ "correct": 28,
343
+ "total": 28,
344
+ "rate": 1.0
345
+ },
346
+ "schema_valid": {
347
+ "correct": 28,
348
+ "total": 28,
349
+ "rate": 1.0
350
+ },
351
+ "action_correct": {
352
+ "correct": 28,
353
+ "total": 28,
354
+ "rate": 1.0
355
+ },
356
+ "tool_correct": {
357
+ "correct": 28,
358
+ "total": 28,
359
+ "rate": 1.0
360
+ },
361
+ "arguments_exact": {
362
+ "correct": 13,
363
+ "total": 28,
364
+ "rate": 0.4642857142857143
365
+ },
366
+ "sql_equivalent": {
367
+ "correct": 14,
368
+ "total": 28,
369
+ "rate": 0.5
370
+ },
371
+ "success": {
372
+ "correct": 14,
373
+ "total": 28,
374
+ "rate": 0.5
375
+ }
376
+ },
377
+ "operation:project_eq": {
378
+ "json_valid": {
379
+ "correct": 28,
380
+ "total": 28,
381
+ "rate": 1.0
382
+ },
383
+ "schema_valid": {
384
+ "correct": 28,
385
+ "total": 28,
386
+ "rate": 1.0
387
+ },
388
+ "action_correct": {
389
+ "correct": 28,
390
+ "total": 28,
391
+ "rate": 1.0
392
+ },
393
+ "tool_correct": {
394
+ "correct": 28,
395
+ "total": 28,
396
+ "rate": 1.0
397
+ },
398
+ "arguments_exact": {
399
+ "correct": 26,
400
+ "total": 28,
401
+ "rate": 0.9285714285714286
402
+ },
403
+ "sql_equivalent": {
404
+ "correct": 26,
405
+ "total": 28,
406
+ "rate": 0.9285714285714286
407
+ },
408
+ "success": {
409
+ "correct": 26,
410
+ "total": 28,
411
+ "rate": 0.9285714285714286
412
+ }
413
+ },
414
+ "operation:gt": {
415
+ "json_valid": {
416
+ "correct": 28,
417
+ "total": 28,
418
+ "rate": 1.0
419
+ },
420
+ "schema_valid": {
421
+ "correct": 28,
422
+ "total": 28,
423
+ "rate": 1.0
424
+ },
425
+ "action_correct": {
426
+ "correct": 28,
427
+ "total": 28,
428
+ "rate": 1.0
429
+ },
430
+ "tool_correct": {
431
+ "correct": 28,
432
+ "total": 28,
433
+ "rate": 1.0
434
+ },
435
+ "arguments_exact": {
436
+ "correct": 3,
437
+ "total": 28,
438
+ "rate": 0.10714285714285714
439
+ },
440
+ "sql_equivalent": {
441
+ "correct": 3,
442
+ "total": 28,
443
+ "rate": 0.10714285714285714
444
+ },
445
+ "success": {
446
+ "correct": 3,
447
+ "total": 28,
448
+ "rate": 0.10714285714285714
449
+ }
450
+ },
451
+ "operation:lt": {
452
+ "json_valid": {
453
+ "correct": 28,
454
+ "total": 28,
455
+ "rate": 1.0
456
+ },
457
+ "schema_valid": {
458
+ "correct": 28,
459
+ "total": 28,
460
+ "rate": 1.0
461
+ },
462
+ "action_correct": {
463
+ "correct": 28,
464
+ "total": 28,
465
+ "rate": 1.0
466
+ },
467
+ "tool_correct": {
468
+ "correct": 28,
469
+ "total": 28,
470
+ "rate": 1.0
471
+ },
472
+ "arguments_exact": {
473
+ "correct": 27,
474
+ "total": 28,
475
+ "rate": 0.9642857142857143
476
+ },
477
+ "sql_equivalent": {
478
+ "correct": 27,
479
+ "total": 28,
480
+ "rate": 0.9642857142857143
481
+ },
482
+ "success": {
483
+ "correct": 27,
484
+ "total": 28,
485
+ "rate": 0.9642857142857143
486
+ }
487
+ },
488
+ "operation:gte": {
489
+ "json_valid": {
490
+ "correct": 28,
491
+ "total": 28,
492
+ "rate": 1.0
493
+ },
494
+ "schema_valid": {
495
+ "correct": 28,
496
+ "total": 28,
497
+ "rate": 1.0
498
+ },
499
+ "action_correct": {
500
+ "correct": 28,
501
+ "total": 28,
502
+ "rate": 1.0
503
+ },
504
+ "tool_correct": {
505
+ "correct": 28,
506
+ "total": 28,
507
+ "rate": 1.0
508
+ },
509
+ "arguments_exact": {
510
+ "correct": 11,
511
+ "total": 28,
512
+ "rate": 0.39285714285714285
513
+ },
514
+ "sql_equivalent": {
515
+ "correct": 11,
516
+ "total": 28,
517
+ "rate": 0.39285714285714285
518
+ },
519
+ "success": {
520
+ "correct": 11,
521
+ "total": 28,
522
+ "rate": 0.39285714285714285
523
+ }
524
+ },
525
+ "operation:lte": {
526
+ "json_valid": {
527
+ "correct": 28,
528
+ "total": 28,
529
+ "rate": 1.0
530
+ },
531
+ "schema_valid": {
532
+ "correct": 28,
533
+ "total": 28,
534
+ "rate": 1.0
535
+ },
536
+ "action_correct": {
537
+ "correct": 28,
538
+ "total": 28,
539
+ "rate": 1.0
540
+ },
541
+ "tool_correct": {
542
+ "correct": 28,
543
+ "total": 28,
544
+ "rate": 1.0
545
+ },
546
+ "arguments_exact": {
547
+ "correct": 13,
548
+ "total": 28,
549
+ "rate": 0.4642857142857143
550
+ },
551
+ "sql_equivalent": {
552
+ "correct": 13,
553
+ "total": 28,
554
+ "rate": 0.4642857142857143
555
+ },
556
+ "success": {
557
+ "correct": 13,
558
+ "total": 28,
559
+ "rate": 0.4642857142857143
560
+ }
561
+ },
562
+ "operation:between": {
563
+ "json_valid": {
564
+ "correct": 28,
565
+ "total": 28,
566
+ "rate": 1.0
567
+ },
568
+ "schema_valid": {
569
+ "correct": 28,
570
+ "total": 28,
571
+ "rate": 1.0
572
+ },
573
+ "action_correct": {
574
+ "correct": 28,
575
+ "total": 28,
576
+ "rate": 1.0
577
+ },
578
+ "tool_correct": {
579
+ "correct": 28,
580
+ "total": 28,
581
+ "rate": 1.0
582
+ },
583
+ "arguments_exact": {
584
+ "correct": 24,
585
+ "total": 28,
586
+ "rate": 0.8571428571428571
587
+ },
588
+ "sql_equivalent": {
589
+ "correct": 24,
590
+ "total": 28,
591
+ "rate": 0.8571428571428571
592
+ },
593
+ "success": {
594
+ "correct": 24,
595
+ "total": 28,
596
+ "rate": 0.8571428571428571
597
+ }
598
+ },
599
+ "operation:and": {
600
+ "json_valid": {
601
+ "correct": 28,
602
+ "total": 28,
603
+ "rate": 1.0
604
+ },
605
+ "schema_valid": {
606
+ "correct": 28,
607
+ "total": 28,
608
+ "rate": 1.0
609
+ },
610
+ "action_correct": {
611
+ "correct": 28,
612
+ "total": 28,
613
+ "rate": 1.0
614
+ },
615
+ "tool_correct": {
616
+ "correct": 28,
617
+ "total": 28,
618
+ "rate": 1.0
619
+ },
620
+ "arguments_exact": {
621
+ "correct": 16,
622
+ "total": 28,
623
+ "rate": 0.5714285714285714
624
+ },
625
+ "sql_equivalent": {
626
+ "correct": 16,
627
+ "total": 28,
628
+ "rate": 0.5714285714285714
629
+ },
630
+ "success": {
631
+ "correct": 16,
632
+ "total": 28,
633
+ "rate": 0.5714285714285714
634
+ }
635
+ },
636
+ "operation:or": {
637
+ "json_valid": {
638
+ "correct": 28,
639
+ "total": 28,
640
+ "rate": 1.0
641
+ },
642
+ "schema_valid": {
643
+ "correct": 28,
644
+ "total": 28,
645
+ "rate": 1.0
646
+ },
647
+ "action_correct": {
648
+ "correct": 28,
649
+ "total": 28,
650
+ "rate": 1.0
651
+ },
652
+ "tool_correct": {
653
+ "correct": 28,
654
+ "total": 28,
655
+ "rate": 1.0
656
+ },
657
+ "arguments_exact": {
658
+ "correct": 13,
659
+ "total": 28,
660
+ "rate": 0.4642857142857143
661
+ },
662
+ "sql_equivalent": {
663
+ "correct": 23,
664
+ "total": 28,
665
+ "rate": 0.8214285714285714
666
+ },
667
+ "success": {
668
+ "correct": 23,
669
+ "total": 28,
670
+ "rate": 0.8214285714285714
671
+ }
672
+ },
673
+ "operation:null": {
674
+ "json_valid": {
675
+ "correct": 28,
676
+ "total": 28,
677
+ "rate": 1.0
678
+ },
679
+ "schema_valid": {
680
+ "correct": 28,
681
+ "total": 28,
682
+ "rate": 1.0
683
+ },
684
+ "action_correct": {
685
+ "correct": 28,
686
+ "total": 28,
687
+ "rate": 1.0
688
+ },
689
+ "tool_correct": {
690
+ "correct": 28,
691
+ "total": 28,
692
+ "rate": 1.0
693
+ },
694
+ "arguments_exact": {
695
+ "correct": 18,
696
+ "total": 28,
697
+ "rate": 0.6428571428571429
698
+ },
699
+ "sql_equivalent": {
700
+ "correct": 18,
701
+ "total": 28,
702
+ "rate": 0.6428571428571429
703
+ },
704
+ "success": {
705
+ "correct": 18,
706
+ "total": 28,
707
+ "rate": 0.6428571428571429
708
+ }
709
+ },
710
+ "operation:not_null": {
711
+ "json_valid": {
712
+ "correct": 28,
713
+ "total": 28,
714
+ "rate": 1.0
715
+ },
716
+ "schema_valid": {
717
+ "correct": 28,
718
+ "total": 28,
719
+ "rate": 1.0
720
+ },
721
+ "action_correct": {
722
+ "correct": 28,
723
+ "total": 28,
724
+ "rate": 1.0
725
+ },
726
+ "tool_correct": {
727
+ "correct": 28,
728
+ "total": 28,
729
+ "rate": 1.0
730
+ },
731
+ "arguments_exact": {
732
+ "correct": 14,
733
+ "total": 28,
734
+ "rate": 0.5
735
+ },
736
+ "sql_equivalent": {
737
+ "correct": 21,
738
+ "total": 28,
739
+ "rate": 0.75
740
+ },
741
+ "success": {
742
+ "correct": 21,
743
+ "total": 28,
744
+ "rate": 0.75
745
+ }
746
+ },
747
+ "operation:count": {
748
+ "json_valid": {
749
+ "correct": 28,
750
+ "total": 28,
751
+ "rate": 1.0
752
+ },
753
+ "schema_valid": {
754
+ "correct": 28,
755
+ "total": 28,
756
+ "rate": 1.0
757
+ },
758
+ "action_correct": {
759
+ "correct": 28,
760
+ "total": 28,
761
+ "rate": 1.0
762
+ },
763
+ "tool_correct": {
764
+ "correct": 28,
765
+ "total": 28,
766
+ "rate": 1.0
767
+ },
768
+ "arguments_exact": {
769
+ "correct": 21,
770
+ "total": 28,
771
+ "rate": 0.75
772
+ },
773
+ "sql_equivalent": {
774
+ "correct": 21,
775
+ "total": 28,
776
+ "rate": 0.75
777
+ },
778
+ "success": {
779
+ "correct": 21,
780
+ "total": 28,
781
+ "rate": 0.75
782
+ }
783
+ },
784
+ "operation:count_eq": {
785
+ "json_valid": {
786
+ "correct": 28,
787
+ "total": 28,
788
+ "rate": 1.0
789
+ },
790
+ "schema_valid": {
791
+ "correct": 28,
792
+ "total": 28,
793
+ "rate": 1.0
794
+ },
795
+ "action_correct": {
796
+ "correct": 28,
797
+ "total": 28,
798
+ "rate": 1.0
799
+ },
800
+ "tool_correct": {
801
+ "correct": 28,
802
+ "total": 28,
803
+ "rate": 1.0
804
+ },
805
+ "arguments_exact": {
806
+ "correct": 13,
807
+ "total": 28,
808
+ "rate": 0.4642857142857143
809
+ },
810
+ "sql_equivalent": {
811
+ "correct": 13,
812
+ "total": 28,
813
+ "rate": 0.4642857142857143
814
+ },
815
+ "success": {
816
+ "correct": 13,
817
+ "total": 28,
818
+ "rate": 0.4642857142857143
819
+ }
820
+ },
821
+ "operation:sum": {
822
+ "json_valid": {
823
+ "correct": 28,
824
+ "total": 28,
825
+ "rate": 1.0
826
+ },
827
+ "schema_valid": {
828
+ "correct": 28,
829
+ "total": 28,
830
+ "rate": 1.0
831
+ },
832
+ "action_correct": {
833
+ "correct": 28,
834
+ "total": 28,
835
+ "rate": 1.0
836
+ },
837
+ "tool_correct": {
838
+ "correct": 27,
839
+ "total": 28,
840
+ "rate": 0.9642857142857143
841
+ },
842
+ "arguments_exact": {
843
+ "correct": 21,
844
+ "total": 28,
845
+ "rate": 0.75
846
+ },
847
+ "sql_equivalent": {
848
+ "correct": 21,
849
+ "total": 28,
850
+ "rate": 0.75
851
+ },
852
+ "success": {
853
+ "correct": 21,
854
+ "total": 28,
855
+ "rate": 0.75
856
+ }
857
+ },
858
+ "operation:avg": {
859
+ "json_valid": {
860
+ "correct": 28,
861
+ "total": 28,
862
+ "rate": 1.0
863
+ },
864
+ "schema_valid": {
865
+ "correct": 28,
866
+ "total": 28,
867
+ "rate": 1.0
868
+ },
869
+ "action_correct": {
870
+ "correct": 28,
871
+ "total": 28,
872
+ "rate": 1.0
873
+ },
874
+ "tool_correct": {
875
+ "correct": 28,
876
+ "total": 28,
877
+ "rate": 1.0
878
+ },
879
+ "arguments_exact": {
880
+ "correct": 28,
881
+ "total": 28,
882
+ "rate": 1.0
883
+ },
884
+ "sql_equivalent": {
885
+ "correct": 28,
886
+ "total": 28,
887
+ "rate": 1.0
888
+ },
889
+ "success": {
890
+ "correct": 28,
891
+ "total": 28,
892
+ "rate": 1.0
893
+ }
894
+ },
895
+ "operation:max": {
896
+ "json_valid": {
897
+ "correct": 28,
898
+ "total": 28,
899
+ "rate": 1.0
900
+ },
901
+ "schema_valid": {
902
+ "correct": 28,
903
+ "total": 28,
904
+ "rate": 1.0
905
+ },
906
+ "action_correct": {
907
+ "correct": 28,
908
+ "total": 28,
909
+ "rate": 1.0
910
+ },
911
+ "tool_correct": {
912
+ "correct": 28,
913
+ "total": 28,
914
+ "rate": 1.0
915
+ },
916
+ "arguments_exact": {
917
+ "correct": 16,
918
+ "total": 28,
919
+ "rate": 0.5714285714285714
920
+ },
921
+ "sql_equivalent": {
922
+ "correct": 16,
923
+ "total": 28,
924
+ "rate": 0.5714285714285714
925
+ },
926
+ "success": {
927
+ "correct": 16,
928
+ "total": 28,
929
+ "rate": 0.5714285714285714
930
+ }
931
+ },
932
+ "operation:min": {
933
+ "json_valid": {
934
+ "correct": 28,
935
+ "total": 28,
936
+ "rate": 1.0
937
+ },
938
+ "schema_valid": {
939
+ "correct": 28,
940
+ "total": 28,
941
+ "rate": 1.0
942
+ },
943
+ "action_correct": {
944
+ "correct": 28,
945
+ "total": 28,
946
+ "rate": 1.0
947
+ },
948
+ "tool_correct": {
949
+ "correct": 28,
950
+ "total": 28,
951
+ "rate": 1.0
952
+ },
953
+ "arguments_exact": {
954
+ "correct": 28,
955
+ "total": 28,
956
+ "rate": 1.0
957
+ },
958
+ "sql_equivalent": {
959
+ "correct": 28,
960
+ "total": 28,
961
+ "rate": 1.0
962
+ },
963
+ "success": {
964
+ "correct": 28,
965
+ "total": 28,
966
+ "rate": 1.0
967
+ }
968
+ },
969
+ "operation:distinct": {
970
+ "json_valid": {
971
+ "correct": 28,
972
+ "total": 28,
973
+ "rate": 1.0
974
+ },
975
+ "schema_valid": {
976
+ "correct": 28,
977
+ "total": 28,
978
+ "rate": 1.0
979
+ },
980
+ "action_correct": {
981
+ "correct": 28,
982
+ "total": 28,
983
+ "rate": 1.0
984
+ },
985
+ "tool_correct": {
986
+ "correct": 28,
987
+ "total": 28,
988
+ "rate": 1.0
989
+ },
990
+ "arguments_exact": {
991
+ "correct": 21,
992
+ "total": 28,
993
+ "rate": 0.75
994
+ },
995
+ "sql_equivalent": {
996
+ "correct": 21,
997
+ "total": 28,
998
+ "rate": 0.75
999
+ },
1000
+ "success": {
1001
+ "correct": 21,
1002
+ "total": 28,
1003
+ "rate": 0.75
1004
+ }
1005
+ },
1006
+ "operation:sort_desc": {
1007
+ "json_valid": {
1008
+ "correct": 28,
1009
+ "total": 28,
1010
+ "rate": 1.0
1011
+ },
1012
+ "schema_valid": {
1013
+ "correct": 28,
1014
+ "total": 28,
1015
+ "rate": 1.0
1016
+ },
1017
+ "action_correct": {
1018
+ "correct": 28,
1019
+ "total": 28,
1020
+ "rate": 1.0
1021
+ },
1022
+ "tool_correct": {
1023
+ "correct": 28,
1024
+ "total": 28,
1025
+ "rate": 1.0
1026
+ },
1027
+ "arguments_exact": {
1028
+ "correct": 12,
1029
+ "total": 28,
1030
+ "rate": 0.42857142857142855
1031
+ },
1032
+ "sql_equivalent": {
1033
+ "correct": 12,
1034
+ "total": 28,
1035
+ "rate": 0.42857142857142855
1036
+ },
1037
+ "success": {
1038
+ "correct": 12,
1039
+ "total": 28,
1040
+ "rate": 0.42857142857142855
1041
+ }
1042
+ },
1043
+ "operation:sort_asc": {
1044
+ "json_valid": {
1045
+ "correct": 28,
1046
+ "total": 28,
1047
+ "rate": 1.0
1048
+ },
1049
+ "schema_valid": {
1050
+ "correct": 28,
1051
+ "total": 28,
1052
+ "rate": 1.0
1053
+ },
1054
+ "action_correct": {
1055
+ "correct": 28,
1056
+ "total": 28,
1057
+ "rate": 1.0
1058
+ },
1059
+ "tool_correct": {
1060
+ "correct": 28,
1061
+ "total": 28,
1062
+ "rate": 1.0
1063
+ },
1064
+ "arguments_exact": {
1065
+ "correct": 12,
1066
+ "total": 28,
1067
+ "rate": 0.42857142857142855
1068
+ },
1069
+ "sql_equivalent": {
1070
+ "correct": 12,
1071
+ "total": 28,
1072
+ "rate": 0.42857142857142855
1073
+ },
1074
+ "success": {
1075
+ "correct": 12,
1076
+ "total": 28,
1077
+ "rate": 0.42857142857142855
1078
+ }
1079
+ },
1080
+ "operation:top": {
1081
+ "json_valid": {
1082
+ "correct": 28,
1083
+ "total": 28,
1084
+ "rate": 1.0
1085
+ },
1086
+ "schema_valid": {
1087
+ "correct": 28,
1088
+ "total": 28,
1089
+ "rate": 1.0
1090
+ },
1091
+ "action_correct": {
1092
+ "correct": 28,
1093
+ "total": 28,
1094
+ "rate": 1.0
1095
+ },
1096
+ "tool_correct": {
1097
+ "correct": 28,
1098
+ "total": 28,
1099
+ "rate": 1.0
1100
+ },
1101
+ "arguments_exact": {
1102
+ "correct": 8,
1103
+ "total": 28,
1104
+ "rate": 0.2857142857142857
1105
+ },
1106
+ "sql_equivalent": {
1107
+ "correct": 8,
1108
+ "total": 28,
1109
+ "rate": 0.2857142857142857
1110
+ },
1111
+ "success": {
1112
+ "correct": 8,
1113
+ "total": 28,
1114
+ "rate": 0.2857142857142857
1115
+ }
1116
+ },
1117
+ "operation:bottom": {
1118
+ "json_valid": {
1119
+ "correct": 28,
1120
+ "total": 28,
1121
+ "rate": 1.0
1122
+ },
1123
+ "schema_valid": {
1124
+ "correct": 28,
1125
+ "total": 28,
1126
+ "rate": 1.0
1127
+ },
1128
+ "action_correct": {
1129
+ "correct": 28,
1130
+ "total": 28,
1131
+ "rate": 1.0
1132
+ },
1133
+ "tool_correct": {
1134
+ "correct": 28,
1135
+ "total": 28,
1136
+ "rate": 1.0
1137
+ },
1138
+ "arguments_exact": {
1139
+ "correct": 17,
1140
+ "total": 28,
1141
+ "rate": 0.6071428571428571
1142
+ },
1143
+ "sql_equivalent": {
1144
+ "correct": 17,
1145
+ "total": 28,
1146
+ "rate": 0.6071428571428571
1147
+ },
1148
+ "success": {
1149
+ "correct": 17,
1150
+ "total": 28,
1151
+ "rate": 0.6071428571428571
1152
+ }
1153
+ },
1154
+ "operation:group_count": {
1155
+ "json_valid": {
1156
+ "correct": 28,
1157
+ "total": 28,
1158
+ "rate": 1.0
1159
+ },
1160
+ "schema_valid": {
1161
+ "correct": 28,
1162
+ "total": 28,
1163
+ "rate": 1.0
1164
+ },
1165
+ "action_correct": {
1166
+ "correct": 28,
1167
+ "total": 28,
1168
+ "rate": 1.0
1169
+ },
1170
+ "tool_correct": {
1171
+ "correct": 28,
1172
+ "total": 28,
1173
+ "rate": 1.0
1174
+ },
1175
+ "arguments_exact": {
1176
+ "correct": 28,
1177
+ "total": 28,
1178
+ "rate": 1.0
1179
+ },
1180
+ "sql_equivalent": {
1181
+ "correct": 28,
1182
+ "total": 28,
1183
+ "rate": 1.0
1184
+ },
1185
+ "success": {
1186
+ "correct": 28,
1187
+ "total": 28,
1188
+ "rate": 1.0
1189
+ }
1190
+ },
1191
+ "operation:group_sum": {
1192
+ "json_valid": {
1193
+ "correct": 28,
1194
+ "total": 28,
1195
+ "rate": 1.0
1196
+ },
1197
+ "schema_valid": {
1198
+ "correct": 28,
1199
+ "total": 28,
1200
+ "rate": 1.0
1201
+ },
1202
+ "action_correct": {
1203
+ "correct": 28,
1204
+ "total": 28,
1205
+ "rate": 1.0
1206
+ },
1207
+ "tool_correct": {
1208
+ "correct": 28,
1209
+ "total": 28,
1210
+ "rate": 1.0
1211
+ },
1212
+ "arguments_exact": {
1213
+ "correct": 28,
1214
+ "total": 28,
1215
+ "rate": 1.0
1216
+ },
1217
+ "sql_equivalent": {
1218
+ "correct": 28,
1219
+ "total": 28,
1220
+ "rate": 1.0
1221
+ },
1222
+ "success": {
1223
+ "correct": 28,
1224
+ "total": 28,
1225
+ "rate": 1.0
1226
+ }
1227
+ },
1228
+ "operation:having": {
1229
+ "json_valid": {
1230
+ "correct": 28,
1231
+ "total": 28,
1232
+ "rate": 1.0
1233
+ },
1234
+ "schema_valid": {
1235
+ "correct": 28,
1236
+ "total": 28,
1237
+ "rate": 1.0
1238
+ },
1239
+ "action_correct": {
1240
+ "correct": 28,
1241
+ "total": 28,
1242
+ "rate": 1.0
1243
+ },
1244
+ "tool_correct": {
1245
+ "correct": 28,
1246
+ "total": 28,
1247
+ "rate": 1.0
1248
+ },
1249
+ "arguments_exact": {
1250
+ "correct": 25,
1251
+ "total": 28,
1252
+ "rate": 0.8928571428571429
1253
+ },
1254
+ "sql_equivalent": {
1255
+ "correct": 25,
1256
+ "total": 28,
1257
+ "rate": 0.8928571428571429
1258
+ },
1259
+ "success": {
1260
+ "correct": 25,
1261
+ "total": 28,
1262
+ "rate": 0.8928571428571429
1263
+ }
1264
+ },
1265
+ "operation:date_after": {
1266
+ "json_valid": {
1267
+ "correct": 28,
1268
+ "total": 28,
1269
+ "rate": 1.0
1270
+ },
1271
+ "schema_valid": {
1272
+ "correct": 28,
1273
+ "total": 28,
1274
+ "rate": 1.0
1275
+ },
1276
+ "action_correct": {
1277
+ "correct": 28,
1278
+ "total": 28,
1279
+ "rate": 1.0
1280
+ },
1281
+ "tool_correct": {
1282
+ "correct": 28,
1283
+ "total": 28,
1284
+ "rate": 1.0
1285
+ },
1286
+ "arguments_exact": {
1287
+ "correct": 19,
1288
+ "total": 28,
1289
+ "rate": 0.6785714285714286
1290
+ },
1291
+ "sql_equivalent": {
1292
+ "correct": 22,
1293
+ "total": 28,
1294
+ "rate": 0.7857142857142857
1295
+ },
1296
+ "success": {
1297
+ "correct": 22,
1298
+ "total": 28,
1299
+ "rate": 0.7857142857142857
1300
+ }
1301
+ },
1302
+ "operation:year": {
1303
+ "json_valid": {
1304
+ "correct": 28,
1305
+ "total": 28,
1306
+ "rate": 1.0
1307
+ },
1308
+ "schema_valid": {
1309
+ "correct": 28,
1310
+ "total": 28,
1311
+ "rate": 1.0
1312
+ },
1313
+ "action_correct": {
1314
+ "correct": 28,
1315
+ "total": 28,
1316
+ "rate": 1.0
1317
+ },
1318
+ "tool_correct": {
1319
+ "correct": 28,
1320
+ "total": 28,
1321
+ "rate": 1.0
1322
+ },
1323
+ "arguments_exact": {
1324
+ "correct": 13,
1325
+ "total": 28,
1326
+ "rate": 0.4642857142857143
1327
+ },
1328
+ "sql_equivalent": {
1329
+ "correct": 28,
1330
+ "total": 28,
1331
+ "rate": 1.0
1332
+ },
1333
+ "success": {
1334
+ "correct": 28,
1335
+ "total": 28,
1336
+ "rate": 1.0
1337
+ }
1338
+ },
1339
+ "operation:month": {
1340
+ "json_valid": {
1341
+ "correct": 28,
1342
+ "total": 28,
1343
+ "rate": 1.0
1344
+ },
1345
+ "schema_valid": {
1346
+ "correct": 28,
1347
+ "total": 28,
1348
+ "rate": 1.0
1349
+ },
1350
+ "action_correct": {
1351
+ "correct": 28,
1352
+ "total": 28,
1353
+ "rate": 1.0
1354
+ },
1355
+ "tool_correct": {
1356
+ "correct": 28,
1357
+ "total": 28,
1358
+ "rate": 1.0
1359
+ },
1360
+ "arguments_exact": {
1361
+ "correct": 12,
1362
+ "total": 28,
1363
+ "rate": 0.42857142857142855
1364
+ },
1365
+ "sql_equivalent": {
1366
+ "correct": 26,
1367
+ "total": 28,
1368
+ "rate": 0.9285714285714286
1369
+ },
1370
+ "success": {
1371
+ "correct": 26,
1372
+ "total": 28,
1373
+ "rate": 0.9285714285714286
1374
+ }
1375
+ },
1376
+ "operation:contains": {
1377
+ "json_valid": {
1378
+ "correct": 24,
1379
+ "total": 24,
1380
+ "rate": 1.0
1381
+ },
1382
+ "schema_valid": {
1383
+ "correct": 24,
1384
+ "total": 24,
1385
+ "rate": 1.0
1386
+ },
1387
+ "action_correct": {
1388
+ "correct": 24,
1389
+ "total": 24,
1390
+ "rate": 1.0
1391
+ },
1392
+ "tool_correct": {
1393
+ "correct": 24,
1394
+ "total": 24,
1395
+ "rate": 1.0
1396
+ },
1397
+ "arguments_exact": {
1398
+ "correct": 19,
1399
+ "total": 24,
1400
+ "rate": 0.7916666666666666
1401
+ },
1402
+ "sql_equivalent": {
1403
+ "correct": 19,
1404
+ "total": 24,
1405
+ "rate": 0.7916666666666666
1406
+ },
1407
+ "success": {
1408
+ "correct": 19,
1409
+ "total": 24,
1410
+ "rate": 0.7916666666666666
1411
+ }
1412
+ },
1413
+ "operation:join": {
1414
+ "json_valid": {
1415
+ "correct": 24,
1416
+ "total": 24,
1417
+ "rate": 1.0
1418
+ },
1419
+ "schema_valid": {
1420
+ "correct": 24,
1421
+ "total": 24,
1422
+ "rate": 1.0
1423
+ },
1424
+ "action_correct": {
1425
+ "correct": 24,
1426
+ "total": 24,
1427
+ "rate": 1.0
1428
+ },
1429
+ "tool_correct": {
1430
+ "correct": 24,
1431
+ "total": 24,
1432
+ "rate": 1.0
1433
+ },
1434
+ "arguments_exact": {
1435
+ "correct": 24,
1436
+ "total": 24,
1437
+ "rate": 1.0
1438
+ },
1439
+ "sql_equivalent": {
1440
+ "correct": 24,
1441
+ "total": 24,
1442
+ "rate": 1.0
1443
+ },
1444
+ "success": {
1445
+ "correct": 24,
1446
+ "total": 24,
1447
+ "rate": 1.0
1448
+ }
1449
+ },
1450
+ "operation:join_filter": {
1451
+ "json_valid": {
1452
+ "correct": 24,
1453
+ "total": 24,
1454
+ "rate": 1.0
1455
+ },
1456
+ "schema_valid": {
1457
+ "correct": 24,
1458
+ "total": 24,
1459
+ "rate": 1.0
1460
+ },
1461
+ "action_correct": {
1462
+ "correct": 24,
1463
+ "total": 24,
1464
+ "rate": 1.0
1465
+ },
1466
+ "tool_correct": {
1467
+ "correct": 24,
1468
+ "total": 24,
1469
+ "rate": 1.0
1470
+ },
1471
+ "arguments_exact": {
1472
+ "correct": 22,
1473
+ "total": 24,
1474
+ "rate": 0.9166666666666666
1475
+ },
1476
+ "sql_equivalent": {
1477
+ "correct": 22,
1478
+ "total": 24,
1479
+ "rate": 0.9166666666666666
1480
+ },
1481
+ "success": {
1482
+ "correct": 22,
1483
+ "total": 24,
1484
+ "rate": 0.9166666666666666
1485
+ }
1486
+ },
1487
+ "operation:list_tables": {
1488
+ "json_valid": {
1489
+ "correct": 24,
1490
+ "total": 24,
1491
+ "rate": 1.0
1492
+ },
1493
+ "schema_valid": {
1494
+ "correct": 24,
1495
+ "total": 24,
1496
+ "rate": 1.0
1497
+ },
1498
+ "action_correct": {
1499
+ "correct": 24,
1500
+ "total": 24,
1501
+ "rate": 1.0
1502
+ },
1503
+ "tool_correct": {
1504
+ "correct": 24,
1505
+ "total": 24,
1506
+ "rate": 1.0
1507
+ },
1508
+ "arguments_exact": {
1509
+ "correct": 24,
1510
+ "total": 24,
1511
+ "rate": 1.0
1512
+ },
1513
+ "sql_equivalent": {
1514
+ "correct": 0,
1515
+ "total": 0,
1516
+ "rate": 0.0
1517
+ },
1518
+ "success": {
1519
+ "correct": 24,
1520
+ "total": 24,
1521
+ "rate": 1.0
1522
+ }
1523
+ },
1524
+ "operation:describe": {
1525
+ "json_valid": {
1526
+ "correct": 24,
1527
+ "total": 24,
1528
+ "rate": 1.0
1529
+ },
1530
+ "schema_valid": {
1531
+ "correct": 21,
1532
+ "total": 24,
1533
+ "rate": 0.875
1534
+ },
1535
+ "action_correct": {
1536
+ "correct": 24,
1537
+ "total": 24,
1538
+ "rate": 1.0
1539
+ },
1540
+ "tool_correct": {
1541
+ "correct": 12,
1542
+ "total": 24,
1543
+ "rate": 0.5
1544
+ },
1545
+ "arguments_exact": {
1546
+ "correct": 9,
1547
+ "total": 24,
1548
+ "rate": 0.375
1549
+ },
1550
+ "sql_equivalent": {
1551
+ "correct": 0,
1552
+ "total": 0,
1553
+ "rate": 0.0
1554
+ },
1555
+ "success": {
1556
+ "correct": 9,
1557
+ "total": 24,
1558
+ "rate": 0.375
1559
+ }
1560
+ },
1561
+ "operation:missing_schema": {
1562
+ "json_valid": {
1563
+ "correct": 24,
1564
+ "total": 24,
1565
+ "rate": 1.0
1566
+ },
1567
+ "schema_valid": {
1568
+ "correct": 24,
1569
+ "total": 24,
1570
+ "rate": 1.0
1571
+ },
1572
+ "action_correct": {
1573
+ "correct": 24,
1574
+ "total": 24,
1575
+ "rate": 1.0
1576
+ },
1577
+ "tool_correct": {
1578
+ "correct": 24,
1579
+ "total": 24,
1580
+ "rate": 1.0
1581
+ },
1582
+ "arguments_exact": {
1583
+ "correct": 24,
1584
+ "total": 24,
1585
+ "rate": 1.0
1586
+ },
1587
+ "sql_equivalent": {
1588
+ "correct": 0,
1589
+ "total": 0,
1590
+ "rate": 0.0
1591
+ },
1592
+ "success": {
1593
+ "correct": 24,
1594
+ "total": 24,
1595
+ "rate": 1.0
1596
+ }
1597
+ },
1598
+ "operation:sql_error": {
1599
+ "json_valid": {
1600
+ "correct": 20,
1601
+ "total": 20,
1602
+ "rate": 1.0
1603
+ },
1604
+ "schema_valid": {
1605
+ "correct": 14,
1606
+ "total": 20,
1607
+ "rate": 0.7
1608
+ },
1609
+ "action_correct": {
1610
+ "correct": 20,
1611
+ "total": 20,
1612
+ "rate": 1.0
1613
+ },
1614
+ "tool_correct": {
1615
+ "correct": 10,
1616
+ "total": 20,
1617
+ "rate": 0.5
1618
+ },
1619
+ "arguments_exact": {
1620
+ "correct": 6,
1621
+ "total": 20,
1622
+ "rate": 0.3
1623
+ },
1624
+ "sql_equivalent": {
1625
+ "correct": 0,
1626
+ "total": 0,
1627
+ "rate": 0.0
1628
+ },
1629
+ "success": {
1630
+ "correct": 6,
1631
+ "total": 20,
1632
+ "rate": 0.3
1633
+ }
1634
+ },
1635
+ "operation:ambiguous": {
1636
+ "json_valid": {
1637
+ "correct": 24,
1638
+ "total": 24,
1639
+ "rate": 1.0
1640
+ },
1641
+ "schema_valid": {
1642
+ "correct": 24,
1643
+ "total": 24,
1644
+ "rate": 1.0
1645
+ },
1646
+ "action_correct": {
1647
+ "correct": 18,
1648
+ "total": 24,
1649
+ "rate": 0.75
1650
+ },
1651
+ "tool_correct": {
1652
+ "correct": 0,
1653
+ "total": 0,
1654
+ "rate": 0.0
1655
+ },
1656
+ "arguments_exact": {
1657
+ "correct": 0,
1658
+ "total": 0,
1659
+ "rate": 0.0
1660
+ },
1661
+ "sql_equivalent": {
1662
+ "correct": 0,
1663
+ "total": 0,
1664
+ "rate": 0.0
1665
+ },
1666
+ "success": {
1667
+ "correct": 18,
1668
+ "total": 24,
1669
+ "rate": 0.75
1670
+ }
1671
+ },
1672
+ "operation:missing_value": {
1673
+ "json_valid": {
1674
+ "correct": 24,
1675
+ "total": 24,
1676
+ "rate": 1.0
1677
+ },
1678
+ "schema_valid": {
1679
+ "correct": 24,
1680
+ "total": 24,
1681
+ "rate": 1.0
1682
+ },
1683
+ "action_correct": {
1684
+ "correct": 24,
1685
+ "total": 24,
1686
+ "rate": 1.0
1687
+ },
1688
+ "tool_correct": {
1689
+ "correct": 0,
1690
+ "total": 0,
1691
+ "rate": 0.0
1692
+ },
1693
+ "arguments_exact": {
1694
+ "correct": 0,
1695
+ "total": 0,
1696
+ "rate": 0.0
1697
+ },
1698
+ "sql_equivalent": {
1699
+ "correct": 0,
1700
+ "total": 0,
1701
+ "rate": 0.0
1702
+ },
1703
+ "success": {
1704
+ "correct": 24,
1705
+ "total": 24,
1706
+ "rate": 1.0
1707
+ }
1708
+ },
1709
+ "operation:write": {
1710
+ "json_valid": {
1711
+ "correct": 24,
1712
+ "total": 24,
1713
+ "rate": 1.0
1714
+ },
1715
+ "schema_valid": {
1716
+ "correct": 24,
1717
+ "total": 24,
1718
+ "rate": 1.0
1719
+ },
1720
+ "action_correct": {
1721
+ "correct": 18,
1722
+ "total": 24,
1723
+ "rate": 0.75
1724
+ },
1725
+ "tool_correct": {
1726
+ "correct": 0,
1727
+ "total": 0,
1728
+ "rate": 0.0
1729
+ },
1730
+ "arguments_exact": {
1731
+ "correct": 0,
1732
+ "total": 0,
1733
+ "rate": 0.0
1734
+ },
1735
+ "sql_equivalent": {
1736
+ "correct": 0,
1737
+ "total": 0,
1738
+ "rate": 0.0
1739
+ },
1740
+ "success": {
1741
+ "correct": 18,
1742
+ "total": 24,
1743
+ "rate": 0.75
1744
+ }
1745
+ },
1746
+ "operation:weather": {
1747
+ "json_valid": {
1748
+ "correct": 24,
1749
+ "total": 24,
1750
+ "rate": 1.0
1751
+ },
1752
+ "schema_valid": {
1753
+ "correct": 24,
1754
+ "total": 24,
1755
+ "rate": 1.0
1756
+ },
1757
+ "action_correct": {
1758
+ "correct": 24,
1759
+ "total": 24,
1760
+ "rate": 1.0
1761
+ },
1762
+ "tool_correct": {
1763
+ "correct": 24,
1764
+ "total": 24,
1765
+ "rate": 1.0
1766
+ },
1767
+ "arguments_exact": {
1768
+ "correct": 24,
1769
+ "total": 24,
1770
+ "rate": 1.0
1771
+ },
1772
+ "sql_equivalent": {
1773
+ "correct": 0,
1774
+ "total": 0,
1775
+ "rate": 0.0
1776
+ },
1777
+ "success": {
1778
+ "correct": 24,
1779
+ "total": 24,
1780
+ "rate": 1.0
1781
+ }
1782
+ },
1783
+ "operation:search": {
1784
+ "json_valid": {
1785
+ "correct": 24,
1786
+ "total": 24,
1787
+ "rate": 1.0
1788
+ },
1789
+ "schema_valid": {
1790
+ "correct": 24,
1791
+ "total": 24,
1792
+ "rate": 1.0
1793
+ },
1794
+ "action_correct": {
1795
+ "correct": 24,
1796
+ "total": 24,
1797
+ "rate": 1.0
1798
+ },
1799
+ "tool_correct": {
1800
+ "correct": 24,
1801
+ "total": 24,
1802
+ "rate": 1.0
1803
+ },
1804
+ "arguments_exact": {
1805
+ "correct": 24,
1806
+ "total": 24,
1807
+ "rate": 1.0
1808
+ },
1809
+ "sql_equivalent": {
1810
+ "correct": 0,
1811
+ "total": 0,
1812
+ "rate": 0.0
1813
+ },
1814
+ "success": {
1815
+ "correct": 24,
1816
+ "total": 24,
1817
+ "rate": 1.0
1818
+ }
1819
+ },
1820
+ "operation:read_file": {
1821
+ "json_valid": {
1822
+ "correct": 24,
1823
+ "total": 24,
1824
+ "rate": 1.0
1825
+ },
1826
+ "schema_valid": {
1827
+ "correct": 24,
1828
+ "total": 24,
1829
+ "rate": 1.0
1830
+ },
1831
+ "action_correct": {
1832
+ "correct": 24,
1833
+ "total": 24,
1834
+ "rate": 1.0
1835
+ },
1836
+ "tool_correct": {
1837
+ "correct": 24,
1838
+ "total": 24,
1839
+ "rate": 1.0
1840
+ },
1841
+ "arguments_exact": {
1842
+ "correct": 24,
1843
+ "total": 24,
1844
+ "rate": 1.0
1845
+ },
1846
+ "sql_equivalent": {
1847
+ "correct": 0,
1848
+ "total": 0,
1849
+ "rate": 0.0
1850
+ },
1851
+ "success": {
1852
+ "correct": 24,
1853
+ "total": 24,
1854
+ "rate": 1.0
1855
+ }
1856
+ },
1857
+ "operation:ticket": {
1858
+ "json_valid": {
1859
+ "correct": 24,
1860
+ "total": 24,
1861
+ "rate": 1.0
1862
+ },
1863
+ "schema_valid": {
1864
+ "correct": 24,
1865
+ "total": 24,
1866
+ "rate": 1.0
1867
+ },
1868
+ "action_correct": {
1869
+ "correct": 24,
1870
+ "total": 24,
1871
+ "rate": 1.0
1872
+ },
1873
+ "tool_correct": {
1874
+ "correct": 24,
1875
+ "total": 24,
1876
+ "rate": 1.0
1877
+ },
1878
+ "arguments_exact": {
1879
+ "correct": 4,
1880
+ "total": 24,
1881
+ "rate": 0.16666666666666666
1882
+ },
1883
+ "sql_equivalent": {
1884
+ "correct": 0,
1885
+ "total": 0,
1886
+ "rate": 0.0
1887
+ },
1888
+ "success": {
1889
+ "correct": 4,
1890
+ "total": 24,
1891
+ "rate": 0.16666666666666666
1892
+ }
1893
+ },
1894
+ "operation:final": {
1895
+ "json_valid": {
1896
+ "correct": 24,
1897
+ "total": 24,
1898
+ "rate": 1.0
1899
+ },
1900
+ "schema_valid": {
1901
+ "correct": 24,
1902
+ "total": 24,
1903
+ "rate": 1.0
1904
+ },
1905
+ "action_correct": {
1906
+ "correct": 24,
1907
+ "total": 24,
1908
+ "rate": 1.0
1909
+ },
1910
+ "tool_correct": {
1911
+ "correct": 0,
1912
+ "total": 0,
1913
+ "rate": 0.0
1914
+ },
1915
+ "arguments_exact": {
1916
+ "correct": 0,
1917
+ "total": 0,
1918
+ "rate": 0.0
1919
+ },
1920
+ "sql_equivalent": {
1921
+ "correct": 0,
1922
+ "total": 0,
1923
+ "rate": 0.0
1924
+ },
1925
+ "success": {
1926
+ "correct": 18,
1927
+ "total": 24,
1928
+ "rate": 0.75
1929
+ }
1930
+ }
1931
+ }
1932
+ }
evaluation/development.summary.json ADDED
@@ -0,0 +1,1785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "examples": 192,
3
+ "seconds": 6.547292470932007,
4
+ "decoding": "raw greedy, no repair, no teacher fallback",
5
+ "checkpoint_sha256": "9489b5cde69c11f64b3e7031182e8248aa83790f1ad4aeefbf99a4e5e152e692",
6
+ "sql_metric": "Dialect parsing and equivalent results on two generated SQLite fixtures after dialect adaptation; not native MySQL/PostgreSQL execution.",
7
+ "metrics": {
8
+ "json_valid": {
9
+ "correct": 192,
10
+ "total": 192,
11
+ "rate": 1.0
12
+ },
13
+ "schema_valid": {
14
+ "correct": 192,
15
+ "total": 192,
16
+ "rate": 1.0
17
+ },
18
+ "action_correct": {
19
+ "correct": 192,
20
+ "total": 192,
21
+ "rate": 1.0
22
+ },
23
+ "tool_correct": {
24
+ "correct": 192,
25
+ "total": 192,
26
+ "rate": 1.0
27
+ },
28
+ "arguments_exact": {
29
+ "correct": 188,
30
+ "total": 192,
31
+ "rate": 0.9791666666666666
32
+ },
33
+ "sql_equivalent": {
34
+ "correct": 125,
35
+ "total": 128,
36
+ "rate": 0.9765625
37
+ },
38
+ "success": {
39
+ "correct": 188,
40
+ "total": 192,
41
+ "rate": 0.9791666666666666
42
+ }
43
+ },
44
+ "groups": {
45
+ "language:noisy_en": {
46
+ "json_valid": {
47
+ "correct": 48,
48
+ "total": 48,
49
+ "rate": 1.0
50
+ },
51
+ "schema_valid": {
52
+ "correct": 48,
53
+ "total": 48,
54
+ "rate": 1.0
55
+ },
56
+ "action_correct": {
57
+ "correct": 48,
58
+ "total": 48,
59
+ "rate": 1.0
60
+ },
61
+ "tool_correct": {
62
+ "correct": 48,
63
+ "total": 48,
64
+ "rate": 1.0
65
+ },
66
+ "arguments_exact": {
67
+ "correct": 48,
68
+ "total": 48,
69
+ "rate": 1.0
70
+ },
71
+ "sql_equivalent": {
72
+ "correct": 31,
73
+ "total": 31,
74
+ "rate": 1.0
75
+ },
76
+ "success": {
77
+ "correct": 48,
78
+ "total": 48,
79
+ "rate": 1.0
80
+ }
81
+ },
82
+ "backend:supabase": {
83
+ "json_valid": {
84
+ "correct": 92,
85
+ "total": 92,
86
+ "rate": 1.0
87
+ },
88
+ "schema_valid": {
89
+ "correct": 92,
90
+ "total": 92,
91
+ "rate": 1.0
92
+ },
93
+ "action_correct": {
94
+ "correct": 92,
95
+ "total": 92,
96
+ "rate": 1.0
97
+ },
98
+ "tool_correct": {
99
+ "correct": 92,
100
+ "total": 92,
101
+ "rate": 1.0
102
+ },
103
+ "arguments_exact": {
104
+ "correct": 90,
105
+ "total": 92,
106
+ "rate": 0.9782608695652174
107
+ },
108
+ "sql_equivalent": {
109
+ "correct": 64,
110
+ "total": 66,
111
+ "rate": 0.9696969696969697
112
+ },
113
+ "success": {
114
+ "correct": 90,
115
+ "total": 92,
116
+ "rate": 0.9782608695652174
117
+ }
118
+ },
119
+ "operation:missing_schema": {
120
+ "json_valid": {
121
+ "correct": 7,
122
+ "total": 7,
123
+ "rate": 1.0
124
+ },
125
+ "schema_valid": {
126
+ "correct": 7,
127
+ "total": 7,
128
+ "rate": 1.0
129
+ },
130
+ "action_correct": {
131
+ "correct": 7,
132
+ "total": 7,
133
+ "rate": 1.0
134
+ },
135
+ "tool_correct": {
136
+ "correct": 7,
137
+ "total": 7,
138
+ "rate": 1.0
139
+ },
140
+ "arguments_exact": {
141
+ "correct": 7,
142
+ "total": 7,
143
+ "rate": 1.0
144
+ },
145
+ "sql_equivalent": {
146
+ "correct": 0,
147
+ "total": 0,
148
+ "rate": 0.0
149
+ },
150
+ "success": {
151
+ "correct": 7,
152
+ "total": 7,
153
+ "rate": 1.0
154
+ }
155
+ },
156
+ "operation:project": {
157
+ "json_valid": {
158
+ "correct": 7,
159
+ "total": 7,
160
+ "rate": 1.0
161
+ },
162
+ "schema_valid": {
163
+ "correct": 7,
164
+ "total": 7,
165
+ "rate": 1.0
166
+ },
167
+ "action_correct": {
168
+ "correct": 7,
169
+ "total": 7,
170
+ "rate": 1.0
171
+ },
172
+ "tool_correct": {
173
+ "correct": 7,
174
+ "total": 7,
175
+ "rate": 1.0
176
+ },
177
+ "arguments_exact": {
178
+ "correct": 6,
179
+ "total": 7,
180
+ "rate": 0.8571428571428571
181
+ },
182
+ "sql_equivalent": {
183
+ "correct": 6,
184
+ "total": 7,
185
+ "rate": 0.8571428571428571
186
+ },
187
+ "success": {
188
+ "correct": 6,
189
+ "total": 7,
190
+ "rate": 0.8571428571428571
191
+ }
192
+ },
193
+ "language:hinglish": {
194
+ "json_valid": {
195
+ "correct": 52,
196
+ "total": 52,
197
+ "rate": 1.0
198
+ },
199
+ "schema_valid": {
200
+ "correct": 52,
201
+ "total": 52,
202
+ "rate": 1.0
203
+ },
204
+ "action_correct": {
205
+ "correct": 52,
206
+ "total": 52,
207
+ "rate": 1.0
208
+ },
209
+ "tool_correct": {
210
+ "correct": 52,
211
+ "total": 52,
212
+ "rate": 1.0
213
+ },
214
+ "arguments_exact": {
215
+ "correct": 51,
216
+ "total": 52,
217
+ "rate": 0.9807692307692307
218
+ },
219
+ "sql_equivalent": {
220
+ "correct": 36,
221
+ "total": 37,
222
+ "rate": 0.972972972972973
223
+ },
224
+ "success": {
225
+ "correct": 51,
226
+ "total": 52,
227
+ "rate": 0.9807692307692307
228
+ }
229
+ },
230
+ "operation:count_eq": {
231
+ "json_valid": {
232
+ "correct": 5,
233
+ "total": 5,
234
+ "rate": 1.0
235
+ },
236
+ "schema_valid": {
237
+ "correct": 5,
238
+ "total": 5,
239
+ "rate": 1.0
240
+ },
241
+ "action_correct": {
242
+ "correct": 5,
243
+ "total": 5,
244
+ "rate": 1.0
245
+ },
246
+ "tool_correct": {
247
+ "correct": 5,
248
+ "total": 5,
249
+ "rate": 1.0
250
+ },
251
+ "arguments_exact": {
252
+ "correct": 5,
253
+ "total": 5,
254
+ "rate": 1.0
255
+ },
256
+ "sql_equivalent": {
257
+ "correct": 5,
258
+ "total": 5,
259
+ "rate": 1.0
260
+ },
261
+ "success": {
262
+ "correct": 5,
263
+ "total": 5,
264
+ "rate": 1.0
265
+ }
266
+ },
267
+ "language:en": {
268
+ "json_valid": {
269
+ "correct": 44,
270
+ "total": 44,
271
+ "rate": 1.0
272
+ },
273
+ "schema_valid": {
274
+ "correct": 44,
275
+ "total": 44,
276
+ "rate": 1.0
277
+ },
278
+ "action_correct": {
279
+ "correct": 44,
280
+ "total": 44,
281
+ "rate": 1.0
282
+ },
283
+ "tool_correct": {
284
+ "correct": 44,
285
+ "total": 44,
286
+ "rate": 1.0
287
+ },
288
+ "arguments_exact": {
289
+ "correct": 42,
290
+ "total": 44,
291
+ "rate": 0.9545454545454546
292
+ },
293
+ "sql_equivalent": {
294
+ "correct": 30,
295
+ "total": 31,
296
+ "rate": 0.967741935483871
297
+ },
298
+ "success": {
299
+ "correct": 42,
300
+ "total": 44,
301
+ "rate": 0.9545454545454546
302
+ }
303
+ },
304
+ "operation:group_count": {
305
+ "json_valid": {
306
+ "correct": 3,
307
+ "total": 3,
308
+ "rate": 1.0
309
+ },
310
+ "schema_valid": {
311
+ "correct": 3,
312
+ "total": 3,
313
+ "rate": 1.0
314
+ },
315
+ "action_correct": {
316
+ "correct": 3,
317
+ "total": 3,
318
+ "rate": 1.0
319
+ },
320
+ "tool_correct": {
321
+ "correct": 3,
322
+ "total": 3,
323
+ "rate": 1.0
324
+ },
325
+ "arguments_exact": {
326
+ "correct": 3,
327
+ "total": 3,
328
+ "rate": 1.0
329
+ },
330
+ "sql_equivalent": {
331
+ "correct": 3,
332
+ "total": 3,
333
+ "rate": 1.0
334
+ },
335
+ "success": {
336
+ "correct": 3,
337
+ "total": 3,
338
+ "rate": 1.0
339
+ }
340
+ },
341
+ "operation:distinct": {
342
+ "json_valid": {
343
+ "correct": 4,
344
+ "total": 4,
345
+ "rate": 1.0
346
+ },
347
+ "schema_valid": {
348
+ "correct": 4,
349
+ "total": 4,
350
+ "rate": 1.0
351
+ },
352
+ "action_correct": {
353
+ "correct": 4,
354
+ "total": 4,
355
+ "rate": 1.0
356
+ },
357
+ "tool_correct": {
358
+ "correct": 4,
359
+ "total": 4,
360
+ "rate": 1.0
361
+ },
362
+ "arguments_exact": {
363
+ "correct": 4,
364
+ "total": 4,
365
+ "rate": 1.0
366
+ },
367
+ "sql_equivalent": {
368
+ "correct": 4,
369
+ "total": 4,
370
+ "rate": 1.0
371
+ },
372
+ "success": {
373
+ "correct": 4,
374
+ "total": 4,
375
+ "rate": 1.0
376
+ }
377
+ },
378
+ "operation:year": {
379
+ "json_valid": {
380
+ "correct": 4,
381
+ "total": 4,
382
+ "rate": 1.0
383
+ },
384
+ "schema_valid": {
385
+ "correct": 4,
386
+ "total": 4,
387
+ "rate": 1.0
388
+ },
389
+ "action_correct": {
390
+ "correct": 4,
391
+ "total": 4,
392
+ "rate": 1.0
393
+ },
394
+ "tool_correct": {
395
+ "correct": 4,
396
+ "total": 4,
397
+ "rate": 1.0
398
+ },
399
+ "arguments_exact": {
400
+ "correct": 4,
401
+ "total": 4,
402
+ "rate": 1.0
403
+ },
404
+ "sql_equivalent": {
405
+ "correct": 4,
406
+ "total": 4,
407
+ "rate": 1.0
408
+ },
409
+ "success": {
410
+ "correct": 4,
411
+ "total": 4,
412
+ "rate": 1.0
413
+ }
414
+ },
415
+ "operation:max": {
416
+ "json_valid": {
417
+ "correct": 3,
418
+ "total": 3,
419
+ "rate": 1.0
420
+ },
421
+ "schema_valid": {
422
+ "correct": 3,
423
+ "total": 3,
424
+ "rate": 1.0
425
+ },
426
+ "action_correct": {
427
+ "correct": 3,
428
+ "total": 3,
429
+ "rate": 1.0
430
+ },
431
+ "tool_correct": {
432
+ "correct": 3,
433
+ "total": 3,
434
+ "rate": 1.0
435
+ },
436
+ "arguments_exact": {
437
+ "correct": 3,
438
+ "total": 3,
439
+ "rate": 1.0
440
+ },
441
+ "sql_equivalent": {
442
+ "correct": 3,
443
+ "total": 3,
444
+ "rate": 1.0
445
+ },
446
+ "success": {
447
+ "correct": 3,
448
+ "total": 3,
449
+ "rate": 1.0
450
+ }
451
+ },
452
+ "operation:bottom": {
453
+ "json_valid": {
454
+ "correct": 5,
455
+ "total": 5,
456
+ "rate": 1.0
457
+ },
458
+ "schema_valid": {
459
+ "correct": 5,
460
+ "total": 5,
461
+ "rate": 1.0
462
+ },
463
+ "action_correct": {
464
+ "correct": 5,
465
+ "total": 5,
466
+ "rate": 1.0
467
+ },
468
+ "tool_correct": {
469
+ "correct": 5,
470
+ "total": 5,
471
+ "rate": 1.0
472
+ },
473
+ "arguments_exact": {
474
+ "correct": 5,
475
+ "total": 5,
476
+ "rate": 1.0
477
+ },
478
+ "sql_equivalent": {
479
+ "correct": 5,
480
+ "total": 5,
481
+ "rate": 1.0
482
+ },
483
+ "success": {
484
+ "correct": 5,
485
+ "total": 5,
486
+ "rate": 1.0
487
+ }
488
+ },
489
+ "operation:lt": {
490
+ "json_valid": {
491
+ "correct": 3,
492
+ "total": 3,
493
+ "rate": 1.0
494
+ },
495
+ "schema_valid": {
496
+ "correct": 3,
497
+ "total": 3,
498
+ "rate": 1.0
499
+ },
500
+ "action_correct": {
501
+ "correct": 3,
502
+ "total": 3,
503
+ "rate": 1.0
504
+ },
505
+ "tool_correct": {
506
+ "correct": 3,
507
+ "total": 3,
508
+ "rate": 1.0
509
+ },
510
+ "arguments_exact": {
511
+ "correct": 3,
512
+ "total": 3,
513
+ "rate": 1.0
514
+ },
515
+ "sql_equivalent": {
516
+ "correct": 3,
517
+ "total": 3,
518
+ "rate": 1.0
519
+ },
520
+ "success": {
521
+ "correct": 3,
522
+ "total": 3,
523
+ "rate": 1.0
524
+ }
525
+ },
526
+ "operation:avg": {
527
+ "json_valid": {
528
+ "correct": 5,
529
+ "total": 5,
530
+ "rate": 1.0
531
+ },
532
+ "schema_valid": {
533
+ "correct": 5,
534
+ "total": 5,
535
+ "rate": 1.0
536
+ },
537
+ "action_correct": {
538
+ "correct": 5,
539
+ "total": 5,
540
+ "rate": 1.0
541
+ },
542
+ "tool_correct": {
543
+ "correct": 5,
544
+ "total": 5,
545
+ "rate": 1.0
546
+ },
547
+ "arguments_exact": {
548
+ "correct": 5,
549
+ "total": 5,
550
+ "rate": 1.0
551
+ },
552
+ "sql_equivalent": {
553
+ "correct": 5,
554
+ "total": 5,
555
+ "rate": 1.0
556
+ },
557
+ "success": {
558
+ "correct": 5,
559
+ "total": 5,
560
+ "rate": 1.0
561
+ }
562
+ },
563
+ "operation:sum": {
564
+ "json_valid": {
565
+ "correct": 4,
566
+ "total": 4,
567
+ "rate": 1.0
568
+ },
569
+ "schema_valid": {
570
+ "correct": 4,
571
+ "total": 4,
572
+ "rate": 1.0
573
+ },
574
+ "action_correct": {
575
+ "correct": 4,
576
+ "total": 4,
577
+ "rate": 1.0
578
+ },
579
+ "tool_correct": {
580
+ "correct": 4,
581
+ "total": 4,
582
+ "rate": 1.0
583
+ },
584
+ "arguments_exact": {
585
+ "correct": 3,
586
+ "total": 4,
587
+ "rate": 0.75
588
+ },
589
+ "sql_equivalent": {
590
+ "correct": 3,
591
+ "total": 4,
592
+ "rate": 0.75
593
+ },
594
+ "success": {
595
+ "correct": 3,
596
+ "total": 4,
597
+ "rate": 0.75
598
+ }
599
+ },
600
+ "language:hi": {
601
+ "json_valid": {
602
+ "correct": 48,
603
+ "total": 48,
604
+ "rate": 1.0
605
+ },
606
+ "schema_valid": {
607
+ "correct": 48,
608
+ "total": 48,
609
+ "rate": 1.0
610
+ },
611
+ "action_correct": {
612
+ "correct": 48,
613
+ "total": 48,
614
+ "rate": 1.0
615
+ },
616
+ "tool_correct": {
617
+ "correct": 48,
618
+ "total": 48,
619
+ "rate": 1.0
620
+ },
621
+ "arguments_exact": {
622
+ "correct": 47,
623
+ "total": 48,
624
+ "rate": 0.9791666666666666
625
+ },
626
+ "sql_equivalent": {
627
+ "correct": 28,
628
+ "total": 29,
629
+ "rate": 0.9655172413793104
630
+ },
631
+ "success": {
632
+ "correct": 47,
633
+ "total": 48,
634
+ "rate": 0.9791666666666666
635
+ }
636
+ },
637
+ "operation:project_eq": {
638
+ "json_valid": {
639
+ "correct": 1,
640
+ "total": 1,
641
+ "rate": 1.0
642
+ },
643
+ "schema_valid": {
644
+ "correct": 1,
645
+ "total": 1,
646
+ "rate": 1.0
647
+ },
648
+ "action_correct": {
649
+ "correct": 1,
650
+ "total": 1,
651
+ "rate": 1.0
652
+ },
653
+ "tool_correct": {
654
+ "correct": 1,
655
+ "total": 1,
656
+ "rate": 1.0
657
+ },
658
+ "arguments_exact": {
659
+ "correct": 1,
660
+ "total": 1,
661
+ "rate": 1.0
662
+ },
663
+ "sql_equivalent": {
664
+ "correct": 1,
665
+ "total": 1,
666
+ "rate": 1.0
667
+ },
668
+ "success": {
669
+ "correct": 1,
670
+ "total": 1,
671
+ "rate": 1.0
672
+ }
673
+ },
674
+ "operation:not_null": {
675
+ "json_valid": {
676
+ "correct": 2,
677
+ "total": 2,
678
+ "rate": 1.0
679
+ },
680
+ "schema_valid": {
681
+ "correct": 2,
682
+ "total": 2,
683
+ "rate": 1.0
684
+ },
685
+ "action_correct": {
686
+ "correct": 2,
687
+ "total": 2,
688
+ "rate": 1.0
689
+ },
690
+ "tool_correct": {
691
+ "correct": 2,
692
+ "total": 2,
693
+ "rate": 1.0
694
+ },
695
+ "arguments_exact": {
696
+ "correct": 2,
697
+ "total": 2,
698
+ "rate": 1.0
699
+ },
700
+ "sql_equivalent": {
701
+ "correct": 2,
702
+ "total": 2,
703
+ "rate": 1.0
704
+ },
705
+ "success": {
706
+ "correct": 2,
707
+ "total": 2,
708
+ "rate": 1.0
709
+ }
710
+ },
711
+ "operation:or": {
712
+ "json_valid": {
713
+ "correct": 7,
714
+ "total": 7,
715
+ "rate": 1.0
716
+ },
717
+ "schema_valid": {
718
+ "correct": 7,
719
+ "total": 7,
720
+ "rate": 1.0
721
+ },
722
+ "action_correct": {
723
+ "correct": 7,
724
+ "total": 7,
725
+ "rate": 1.0
726
+ },
727
+ "tool_correct": {
728
+ "correct": 7,
729
+ "total": 7,
730
+ "rate": 1.0
731
+ },
732
+ "arguments_exact": {
733
+ "correct": 7,
734
+ "total": 7,
735
+ "rate": 1.0
736
+ },
737
+ "sql_equivalent": {
738
+ "correct": 7,
739
+ "total": 7,
740
+ "rate": 1.0
741
+ },
742
+ "success": {
743
+ "correct": 7,
744
+ "total": 7,
745
+ "rate": 1.0
746
+ }
747
+ },
748
+ "operation:date_after": {
749
+ "json_valid": {
750
+ "correct": 10,
751
+ "total": 10,
752
+ "rate": 1.0
753
+ },
754
+ "schema_valid": {
755
+ "correct": 10,
756
+ "total": 10,
757
+ "rate": 1.0
758
+ },
759
+ "action_correct": {
760
+ "correct": 10,
761
+ "total": 10,
762
+ "rate": 1.0
763
+ },
764
+ "tool_correct": {
765
+ "correct": 10,
766
+ "total": 10,
767
+ "rate": 1.0
768
+ },
769
+ "arguments_exact": {
770
+ "correct": 10,
771
+ "total": 10,
772
+ "rate": 1.0
773
+ },
774
+ "sql_equivalent": {
775
+ "correct": 10,
776
+ "total": 10,
777
+ "rate": 1.0
778
+ },
779
+ "success": {
780
+ "correct": 10,
781
+ "total": 10,
782
+ "rate": 1.0
783
+ }
784
+ },
785
+ "operation:top": {
786
+ "json_valid": {
787
+ "correct": 9,
788
+ "total": 9,
789
+ "rate": 1.0
790
+ },
791
+ "schema_valid": {
792
+ "correct": 9,
793
+ "total": 9,
794
+ "rate": 1.0
795
+ },
796
+ "action_correct": {
797
+ "correct": 9,
798
+ "total": 9,
799
+ "rate": 1.0
800
+ },
801
+ "tool_correct": {
802
+ "correct": 9,
803
+ "total": 9,
804
+ "rate": 1.0
805
+ },
806
+ "arguments_exact": {
807
+ "correct": 9,
808
+ "total": 9,
809
+ "rate": 1.0
810
+ },
811
+ "sql_equivalent": {
812
+ "correct": 9,
813
+ "total": 9,
814
+ "rate": 1.0
815
+ },
816
+ "success": {
817
+ "correct": 9,
818
+ "total": 9,
819
+ "rate": 1.0
820
+ }
821
+ },
822
+ "operation:having": {
823
+ "json_valid": {
824
+ "correct": 5,
825
+ "total": 5,
826
+ "rate": 1.0
827
+ },
828
+ "schema_valid": {
829
+ "correct": 5,
830
+ "total": 5,
831
+ "rate": 1.0
832
+ },
833
+ "action_correct": {
834
+ "correct": 5,
835
+ "total": 5,
836
+ "rate": 1.0
837
+ },
838
+ "tool_correct": {
839
+ "correct": 5,
840
+ "total": 5,
841
+ "rate": 1.0
842
+ },
843
+ "arguments_exact": {
844
+ "correct": 5,
845
+ "total": 5,
846
+ "rate": 1.0
847
+ },
848
+ "sql_equivalent": {
849
+ "correct": 5,
850
+ "total": 5,
851
+ "rate": 1.0
852
+ },
853
+ "success": {
854
+ "correct": 5,
855
+ "total": 5,
856
+ "rate": 1.0
857
+ }
858
+ },
859
+ "operation:min": {
860
+ "json_valid": {
861
+ "correct": 5,
862
+ "total": 5,
863
+ "rate": 1.0
864
+ },
865
+ "schema_valid": {
866
+ "correct": 5,
867
+ "total": 5,
868
+ "rate": 1.0
869
+ },
870
+ "action_correct": {
871
+ "correct": 5,
872
+ "total": 5,
873
+ "rate": 1.0
874
+ },
875
+ "tool_correct": {
876
+ "correct": 5,
877
+ "total": 5,
878
+ "rate": 1.0
879
+ },
880
+ "arguments_exact": {
881
+ "correct": 5,
882
+ "total": 5,
883
+ "rate": 1.0
884
+ },
885
+ "sql_equivalent": {
886
+ "correct": 5,
887
+ "total": 5,
888
+ "rate": 1.0
889
+ },
890
+ "success": {
891
+ "correct": 5,
892
+ "total": 5,
893
+ "rate": 1.0
894
+ }
895
+ },
896
+ "operation:gt": {
897
+ "json_valid": {
898
+ "correct": 4,
899
+ "total": 4,
900
+ "rate": 1.0
901
+ },
902
+ "schema_valid": {
903
+ "correct": 4,
904
+ "total": 4,
905
+ "rate": 1.0
906
+ },
907
+ "action_correct": {
908
+ "correct": 4,
909
+ "total": 4,
910
+ "rate": 1.0
911
+ },
912
+ "tool_correct": {
913
+ "correct": 4,
914
+ "total": 4,
915
+ "rate": 1.0
916
+ },
917
+ "arguments_exact": {
918
+ "correct": 4,
919
+ "total": 4,
920
+ "rate": 1.0
921
+ },
922
+ "sql_equivalent": {
923
+ "correct": 4,
924
+ "total": 4,
925
+ "rate": 1.0
926
+ },
927
+ "success": {
928
+ "correct": 4,
929
+ "total": 4,
930
+ "rate": 1.0
931
+ }
932
+ },
933
+ "backend:mysql": {
934
+ "json_valid": {
935
+ "correct": 100,
936
+ "total": 100,
937
+ "rate": 1.0
938
+ },
939
+ "schema_valid": {
940
+ "correct": 100,
941
+ "total": 100,
942
+ "rate": 1.0
943
+ },
944
+ "action_correct": {
945
+ "correct": 100,
946
+ "total": 100,
947
+ "rate": 1.0
948
+ },
949
+ "tool_correct": {
950
+ "correct": 100,
951
+ "total": 100,
952
+ "rate": 1.0
953
+ },
954
+ "arguments_exact": {
955
+ "correct": 98,
956
+ "total": 100,
957
+ "rate": 0.98
958
+ },
959
+ "sql_equivalent": {
960
+ "correct": 61,
961
+ "total": 62,
962
+ "rate": 0.9838709677419355
963
+ },
964
+ "success": {
965
+ "correct": 98,
966
+ "total": 100,
967
+ "rate": 0.98
968
+ }
969
+ },
970
+ "operation:count": {
971
+ "json_valid": {
972
+ "correct": 3,
973
+ "total": 3,
974
+ "rate": 1.0
975
+ },
976
+ "schema_valid": {
977
+ "correct": 3,
978
+ "total": 3,
979
+ "rate": 1.0
980
+ },
981
+ "action_correct": {
982
+ "correct": 3,
983
+ "total": 3,
984
+ "rate": 1.0
985
+ },
986
+ "tool_correct": {
987
+ "correct": 3,
988
+ "total": 3,
989
+ "rate": 1.0
990
+ },
991
+ "arguments_exact": {
992
+ "correct": 3,
993
+ "total": 3,
994
+ "rate": 1.0
995
+ },
996
+ "sql_equivalent": {
997
+ "correct": 3,
998
+ "total": 3,
999
+ "rate": 1.0
1000
+ },
1001
+ "success": {
1002
+ "correct": 3,
1003
+ "total": 3,
1004
+ "rate": 1.0
1005
+ }
1006
+ },
1007
+ "operation:group_sum": {
1008
+ "json_valid": {
1009
+ "correct": 3,
1010
+ "total": 3,
1011
+ "rate": 1.0
1012
+ },
1013
+ "schema_valid": {
1014
+ "correct": 3,
1015
+ "total": 3,
1016
+ "rate": 1.0
1017
+ },
1018
+ "action_correct": {
1019
+ "correct": 3,
1020
+ "total": 3,
1021
+ "rate": 1.0
1022
+ },
1023
+ "tool_correct": {
1024
+ "correct": 3,
1025
+ "total": 3,
1026
+ "rate": 1.0
1027
+ },
1028
+ "arguments_exact": {
1029
+ "correct": 3,
1030
+ "total": 3,
1031
+ "rate": 1.0
1032
+ },
1033
+ "sql_equivalent": {
1034
+ "correct": 3,
1035
+ "total": 3,
1036
+ "rate": 1.0
1037
+ },
1038
+ "success": {
1039
+ "correct": 3,
1040
+ "total": 3,
1041
+ "rate": 1.0
1042
+ }
1043
+ },
1044
+ "operation:between": {
1045
+ "json_valid": {
1046
+ "correct": 6,
1047
+ "total": 6,
1048
+ "rate": 1.0
1049
+ },
1050
+ "schema_valid": {
1051
+ "correct": 6,
1052
+ "total": 6,
1053
+ "rate": 1.0
1054
+ },
1055
+ "action_correct": {
1056
+ "correct": 6,
1057
+ "total": 6,
1058
+ "rate": 1.0
1059
+ },
1060
+ "tool_correct": {
1061
+ "correct": 6,
1062
+ "total": 6,
1063
+ "rate": 1.0
1064
+ },
1065
+ "arguments_exact": {
1066
+ "correct": 6,
1067
+ "total": 6,
1068
+ "rate": 1.0
1069
+ },
1070
+ "sql_equivalent": {
1071
+ "correct": 6,
1072
+ "total": 6,
1073
+ "rate": 1.0
1074
+ },
1075
+ "success": {
1076
+ "correct": 6,
1077
+ "total": 6,
1078
+ "rate": 1.0
1079
+ }
1080
+ },
1081
+ "operation:sort_asc": {
1082
+ "json_valid": {
1083
+ "correct": 4,
1084
+ "total": 4,
1085
+ "rate": 1.0
1086
+ },
1087
+ "schema_valid": {
1088
+ "correct": 4,
1089
+ "total": 4,
1090
+ "rate": 1.0
1091
+ },
1092
+ "action_correct": {
1093
+ "correct": 4,
1094
+ "total": 4,
1095
+ "rate": 1.0
1096
+ },
1097
+ "tool_correct": {
1098
+ "correct": 4,
1099
+ "total": 4,
1100
+ "rate": 1.0
1101
+ },
1102
+ "arguments_exact": {
1103
+ "correct": 4,
1104
+ "total": 4,
1105
+ "rate": 1.0
1106
+ },
1107
+ "sql_equivalent": {
1108
+ "correct": 4,
1109
+ "total": 4,
1110
+ "rate": 1.0
1111
+ },
1112
+ "success": {
1113
+ "correct": 4,
1114
+ "total": 4,
1115
+ "rate": 1.0
1116
+ }
1117
+ },
1118
+ "operation:sort_desc": {
1119
+ "json_valid": {
1120
+ "correct": 4,
1121
+ "total": 4,
1122
+ "rate": 1.0
1123
+ },
1124
+ "schema_valid": {
1125
+ "correct": 4,
1126
+ "total": 4,
1127
+ "rate": 1.0
1128
+ },
1129
+ "action_correct": {
1130
+ "correct": 4,
1131
+ "total": 4,
1132
+ "rate": 1.0
1133
+ },
1134
+ "tool_correct": {
1135
+ "correct": 4,
1136
+ "total": 4,
1137
+ "rate": 1.0
1138
+ },
1139
+ "arguments_exact": {
1140
+ "correct": 4,
1141
+ "total": 4,
1142
+ "rate": 1.0
1143
+ },
1144
+ "sql_equivalent": {
1145
+ "correct": 4,
1146
+ "total": 4,
1147
+ "rate": 1.0
1148
+ },
1149
+ "success": {
1150
+ "correct": 4,
1151
+ "total": 4,
1152
+ "rate": 1.0
1153
+ }
1154
+ },
1155
+ "operation:sql_error": {
1156
+ "json_valid": {
1157
+ "correct": 9,
1158
+ "total": 9,
1159
+ "rate": 1.0
1160
+ },
1161
+ "schema_valid": {
1162
+ "correct": 9,
1163
+ "total": 9,
1164
+ "rate": 1.0
1165
+ },
1166
+ "action_correct": {
1167
+ "correct": 9,
1168
+ "total": 9,
1169
+ "rate": 1.0
1170
+ },
1171
+ "tool_correct": {
1172
+ "correct": 9,
1173
+ "total": 9,
1174
+ "rate": 1.0
1175
+ },
1176
+ "arguments_exact": {
1177
+ "correct": 8,
1178
+ "total": 9,
1179
+ "rate": 0.8888888888888888
1180
+ },
1181
+ "sql_equivalent": {
1182
+ "correct": 0,
1183
+ "total": 0,
1184
+ "rate": 0.0
1185
+ },
1186
+ "success": {
1187
+ "correct": 8,
1188
+ "total": 9,
1189
+ "rate": 0.8888888888888888
1190
+ }
1191
+ },
1192
+ "operation:all": {
1193
+ "json_valid": {
1194
+ "correct": 4,
1195
+ "total": 4,
1196
+ "rate": 1.0
1197
+ },
1198
+ "schema_valid": {
1199
+ "correct": 4,
1200
+ "total": 4,
1201
+ "rate": 1.0
1202
+ },
1203
+ "action_correct": {
1204
+ "correct": 4,
1205
+ "total": 4,
1206
+ "rate": 1.0
1207
+ },
1208
+ "tool_correct": {
1209
+ "correct": 4,
1210
+ "total": 4,
1211
+ "rate": 1.0
1212
+ },
1213
+ "arguments_exact": {
1214
+ "correct": 3,
1215
+ "total": 4,
1216
+ "rate": 0.75
1217
+ },
1218
+ "sql_equivalent": {
1219
+ "correct": 3,
1220
+ "total": 4,
1221
+ "rate": 0.75
1222
+ },
1223
+ "success": {
1224
+ "correct": 3,
1225
+ "total": 4,
1226
+ "rate": 0.75
1227
+ }
1228
+ },
1229
+ "operation:and": {
1230
+ "json_valid": {
1231
+ "correct": 4,
1232
+ "total": 4,
1233
+ "rate": 1.0
1234
+ },
1235
+ "schema_valid": {
1236
+ "correct": 4,
1237
+ "total": 4,
1238
+ "rate": 1.0
1239
+ },
1240
+ "action_correct": {
1241
+ "correct": 4,
1242
+ "total": 4,
1243
+ "rate": 1.0
1244
+ },
1245
+ "tool_correct": {
1246
+ "correct": 4,
1247
+ "total": 4,
1248
+ "rate": 1.0
1249
+ },
1250
+ "arguments_exact": {
1251
+ "correct": 4,
1252
+ "total": 4,
1253
+ "rate": 1.0
1254
+ },
1255
+ "sql_equivalent": {
1256
+ "correct": 4,
1257
+ "total": 4,
1258
+ "rate": 1.0
1259
+ },
1260
+ "success": {
1261
+ "correct": 4,
1262
+ "total": 4,
1263
+ "rate": 1.0
1264
+ }
1265
+ },
1266
+ "operation:month": {
1267
+ "json_valid": {
1268
+ "correct": 2,
1269
+ "total": 2,
1270
+ "rate": 1.0
1271
+ },
1272
+ "schema_valid": {
1273
+ "correct": 2,
1274
+ "total": 2,
1275
+ "rate": 1.0
1276
+ },
1277
+ "action_correct": {
1278
+ "correct": 2,
1279
+ "total": 2,
1280
+ "rate": 1.0
1281
+ },
1282
+ "tool_correct": {
1283
+ "correct": 2,
1284
+ "total": 2,
1285
+ "rate": 1.0
1286
+ },
1287
+ "arguments_exact": {
1288
+ "correct": 2,
1289
+ "total": 2,
1290
+ "rate": 1.0
1291
+ },
1292
+ "sql_equivalent": {
1293
+ "correct": 2,
1294
+ "total": 2,
1295
+ "rate": 1.0
1296
+ },
1297
+ "success": {
1298
+ "correct": 2,
1299
+ "total": 2,
1300
+ "rate": 1.0
1301
+ }
1302
+ },
1303
+ "operation:join_filter": {
1304
+ "json_valid": {
1305
+ "correct": 3,
1306
+ "total": 3,
1307
+ "rate": 1.0
1308
+ },
1309
+ "schema_valid": {
1310
+ "correct": 3,
1311
+ "total": 3,
1312
+ "rate": 1.0
1313
+ },
1314
+ "action_correct": {
1315
+ "correct": 3,
1316
+ "total": 3,
1317
+ "rate": 1.0
1318
+ },
1319
+ "tool_correct": {
1320
+ "correct": 3,
1321
+ "total": 3,
1322
+ "rate": 1.0
1323
+ },
1324
+ "arguments_exact": {
1325
+ "correct": 3,
1326
+ "total": 3,
1327
+ "rate": 1.0
1328
+ },
1329
+ "sql_equivalent": {
1330
+ "correct": 3,
1331
+ "total": 3,
1332
+ "rate": 1.0
1333
+ },
1334
+ "success": {
1335
+ "correct": 3,
1336
+ "total": 3,
1337
+ "rate": 1.0
1338
+ }
1339
+ },
1340
+ "operation:eq": {
1341
+ "json_valid": {
1342
+ "correct": 1,
1343
+ "total": 1,
1344
+ "rate": 1.0
1345
+ },
1346
+ "schema_valid": {
1347
+ "correct": 1,
1348
+ "total": 1,
1349
+ "rate": 1.0
1350
+ },
1351
+ "action_correct": {
1352
+ "correct": 1,
1353
+ "total": 1,
1354
+ "rate": 1.0
1355
+ },
1356
+ "tool_correct": {
1357
+ "correct": 1,
1358
+ "total": 1,
1359
+ "rate": 1.0
1360
+ },
1361
+ "arguments_exact": {
1362
+ "correct": 1,
1363
+ "total": 1,
1364
+ "rate": 1.0
1365
+ },
1366
+ "sql_equivalent": {
1367
+ "correct": 1,
1368
+ "total": 1,
1369
+ "rate": 1.0
1370
+ },
1371
+ "success": {
1372
+ "correct": 1,
1373
+ "total": 1,
1374
+ "rate": 1.0
1375
+ }
1376
+ },
1377
+ "operation:list_tables": {
1378
+ "json_valid": {
1379
+ "correct": 12,
1380
+ "total": 12,
1381
+ "rate": 1.0
1382
+ },
1383
+ "schema_valid": {
1384
+ "correct": 12,
1385
+ "total": 12,
1386
+ "rate": 1.0
1387
+ },
1388
+ "action_correct": {
1389
+ "correct": 12,
1390
+ "total": 12,
1391
+ "rate": 1.0
1392
+ },
1393
+ "tool_correct": {
1394
+ "correct": 12,
1395
+ "total": 12,
1396
+ "rate": 1.0
1397
+ },
1398
+ "arguments_exact": {
1399
+ "correct": 12,
1400
+ "total": 12,
1401
+ "rate": 1.0
1402
+ },
1403
+ "sql_equivalent": {
1404
+ "correct": 0,
1405
+ "total": 0,
1406
+ "rate": 0.0
1407
+ },
1408
+ "success": {
1409
+ "correct": 12,
1410
+ "total": 12,
1411
+ "rate": 1.0
1412
+ }
1413
+ },
1414
+ "operation:gte": {
1415
+ "json_valid": {
1416
+ "correct": 1,
1417
+ "total": 1,
1418
+ "rate": 1.0
1419
+ },
1420
+ "schema_valid": {
1421
+ "correct": 1,
1422
+ "total": 1,
1423
+ "rate": 1.0
1424
+ },
1425
+ "action_correct": {
1426
+ "correct": 1,
1427
+ "total": 1,
1428
+ "rate": 1.0
1429
+ },
1430
+ "tool_correct": {
1431
+ "correct": 1,
1432
+ "total": 1,
1433
+ "rate": 1.0
1434
+ },
1435
+ "arguments_exact": {
1436
+ "correct": 1,
1437
+ "total": 1,
1438
+ "rate": 1.0
1439
+ },
1440
+ "sql_equivalent": {
1441
+ "correct": 1,
1442
+ "total": 1,
1443
+ "rate": 1.0
1444
+ },
1445
+ "success": {
1446
+ "correct": 1,
1447
+ "total": 1,
1448
+ "rate": 1.0
1449
+ }
1450
+ },
1451
+ "operation:lte": {
1452
+ "json_valid": {
1453
+ "correct": 1,
1454
+ "total": 1,
1455
+ "rate": 1.0
1456
+ },
1457
+ "schema_valid": {
1458
+ "correct": 1,
1459
+ "total": 1,
1460
+ "rate": 1.0
1461
+ },
1462
+ "action_correct": {
1463
+ "correct": 1,
1464
+ "total": 1,
1465
+ "rate": 1.0
1466
+ },
1467
+ "tool_correct": {
1468
+ "correct": 1,
1469
+ "total": 1,
1470
+ "rate": 1.0
1471
+ },
1472
+ "arguments_exact": {
1473
+ "correct": 1,
1474
+ "total": 1,
1475
+ "rate": 1.0
1476
+ },
1477
+ "sql_equivalent": {
1478
+ "correct": 1,
1479
+ "total": 1,
1480
+ "rate": 1.0
1481
+ },
1482
+ "success": {
1483
+ "correct": 1,
1484
+ "total": 1,
1485
+ "rate": 1.0
1486
+ }
1487
+ },
1488
+ "operation:describe": {
1489
+ "json_valid": {
1490
+ "correct": 4,
1491
+ "total": 4,
1492
+ "rate": 1.0
1493
+ },
1494
+ "schema_valid": {
1495
+ "correct": 4,
1496
+ "total": 4,
1497
+ "rate": 1.0
1498
+ },
1499
+ "action_correct": {
1500
+ "correct": 4,
1501
+ "total": 4,
1502
+ "rate": 1.0
1503
+ },
1504
+ "tool_correct": {
1505
+ "correct": 4,
1506
+ "total": 4,
1507
+ "rate": 1.0
1508
+ },
1509
+ "arguments_exact": {
1510
+ "correct": 4,
1511
+ "total": 4,
1512
+ "rate": 1.0
1513
+ },
1514
+ "sql_equivalent": {
1515
+ "correct": 0,
1516
+ "total": 0,
1517
+ "rate": 0.0
1518
+ },
1519
+ "success": {
1520
+ "correct": 4,
1521
+ "total": 4,
1522
+ "rate": 1.0
1523
+ }
1524
+ },
1525
+ "operation:join": {
1526
+ "json_valid": {
1527
+ "correct": 3,
1528
+ "total": 3,
1529
+ "rate": 1.0
1530
+ },
1531
+ "schema_valid": {
1532
+ "correct": 3,
1533
+ "total": 3,
1534
+ "rate": 1.0
1535
+ },
1536
+ "action_correct": {
1537
+ "correct": 3,
1538
+ "total": 3,
1539
+ "rate": 1.0
1540
+ },
1541
+ "tool_correct": {
1542
+ "correct": 3,
1543
+ "total": 3,
1544
+ "rate": 1.0
1545
+ },
1546
+ "arguments_exact": {
1547
+ "correct": 3,
1548
+ "total": 3,
1549
+ "rate": 1.0
1550
+ },
1551
+ "sql_equivalent": {
1552
+ "correct": 3,
1553
+ "total": 3,
1554
+ "rate": 1.0
1555
+ },
1556
+ "success": {
1557
+ "correct": 3,
1558
+ "total": 3,
1559
+ "rate": 1.0
1560
+ }
1561
+ },
1562
+ "operation:null": {
1563
+ "json_valid": {
1564
+ "correct": 2,
1565
+ "total": 2,
1566
+ "rate": 1.0
1567
+ },
1568
+ "schema_valid": {
1569
+ "correct": 2,
1570
+ "total": 2,
1571
+ "rate": 1.0
1572
+ },
1573
+ "action_correct": {
1574
+ "correct": 2,
1575
+ "total": 2,
1576
+ "rate": 1.0
1577
+ },
1578
+ "tool_correct": {
1579
+ "correct": 2,
1580
+ "total": 2,
1581
+ "rate": 1.0
1582
+ },
1583
+ "arguments_exact": {
1584
+ "correct": 2,
1585
+ "total": 2,
1586
+ "rate": 1.0
1587
+ },
1588
+ "sql_equivalent": {
1589
+ "correct": 2,
1590
+ "total": 2,
1591
+ "rate": 1.0
1592
+ },
1593
+ "success": {
1594
+ "correct": 2,
1595
+ "total": 2,
1596
+ "rate": 1.0
1597
+ }
1598
+ },
1599
+ "operation:contains": {
1600
+ "json_valid": {
1601
+ "correct": 1,
1602
+ "total": 1,
1603
+ "rate": 1.0
1604
+ },
1605
+ "schema_valid": {
1606
+ "correct": 1,
1607
+ "total": 1,
1608
+ "rate": 1.0
1609
+ },
1610
+ "action_correct": {
1611
+ "correct": 1,
1612
+ "total": 1,
1613
+ "rate": 1.0
1614
+ },
1615
+ "tool_correct": {
1616
+ "correct": 1,
1617
+ "total": 1,
1618
+ "rate": 1.0
1619
+ },
1620
+ "arguments_exact": {
1621
+ "correct": 1,
1622
+ "total": 1,
1623
+ "rate": 1.0
1624
+ },
1625
+ "sql_equivalent": {
1626
+ "correct": 1,
1627
+ "total": 1,
1628
+ "rate": 1.0
1629
+ },
1630
+ "success": {
1631
+ "correct": 1,
1632
+ "total": 1,
1633
+ "rate": 1.0
1634
+ }
1635
+ },
1636
+ "operation:search": {
1637
+ "json_valid": {
1638
+ "correct": 9,
1639
+ "total": 9,
1640
+ "rate": 1.0
1641
+ },
1642
+ "schema_valid": {
1643
+ "correct": 9,
1644
+ "total": 9,
1645
+ "rate": 1.0
1646
+ },
1647
+ "action_correct": {
1648
+ "correct": 9,
1649
+ "total": 9,
1650
+ "rate": 1.0
1651
+ },
1652
+ "tool_correct": {
1653
+ "correct": 9,
1654
+ "total": 9,
1655
+ "rate": 1.0
1656
+ },
1657
+ "arguments_exact": {
1658
+ "correct": 9,
1659
+ "total": 9,
1660
+ "rate": 1.0
1661
+ },
1662
+ "sql_equivalent": {
1663
+ "correct": 0,
1664
+ "total": 0,
1665
+ "rate": 0.0
1666
+ },
1667
+ "success": {
1668
+ "correct": 9,
1669
+ "total": 9,
1670
+ "rate": 1.0
1671
+ }
1672
+ },
1673
+ "operation:ticket": {
1674
+ "json_valid": {
1675
+ "correct": 9,
1676
+ "total": 9,
1677
+ "rate": 1.0
1678
+ },
1679
+ "schema_valid": {
1680
+ "correct": 9,
1681
+ "total": 9,
1682
+ "rate": 1.0
1683
+ },
1684
+ "action_correct": {
1685
+ "correct": 9,
1686
+ "total": 9,
1687
+ "rate": 1.0
1688
+ },
1689
+ "tool_correct": {
1690
+ "correct": 9,
1691
+ "total": 9,
1692
+ "rate": 1.0
1693
+ },
1694
+ "arguments_exact": {
1695
+ "correct": 9,
1696
+ "total": 9,
1697
+ "rate": 1.0
1698
+ },
1699
+ "sql_equivalent": {
1700
+ "correct": 0,
1701
+ "total": 0,
1702
+ "rate": 0.0
1703
+ },
1704
+ "success": {
1705
+ "correct": 9,
1706
+ "total": 9,
1707
+ "rate": 1.0
1708
+ }
1709
+ },
1710
+ "operation:weather": {
1711
+ "json_valid": {
1712
+ "correct": 7,
1713
+ "total": 7,
1714
+ "rate": 1.0
1715
+ },
1716
+ "schema_valid": {
1717
+ "correct": 7,
1718
+ "total": 7,
1719
+ "rate": 1.0
1720
+ },
1721
+ "action_correct": {
1722
+ "correct": 7,
1723
+ "total": 7,
1724
+ "rate": 1.0
1725
+ },
1726
+ "tool_correct": {
1727
+ "correct": 7,
1728
+ "total": 7,
1729
+ "rate": 1.0
1730
+ },
1731
+ "arguments_exact": {
1732
+ "correct": 7,
1733
+ "total": 7,
1734
+ "rate": 1.0
1735
+ },
1736
+ "sql_equivalent": {
1737
+ "correct": 0,
1738
+ "total": 0,
1739
+ "rate": 0.0
1740
+ },
1741
+ "success": {
1742
+ "correct": 7,
1743
+ "total": 7,
1744
+ "rate": 1.0
1745
+ }
1746
+ },
1747
+ "operation:read_file": {
1748
+ "json_valid": {
1749
+ "correct": 7,
1750
+ "total": 7,
1751
+ "rate": 1.0
1752
+ },
1753
+ "schema_valid": {
1754
+ "correct": 7,
1755
+ "total": 7,
1756
+ "rate": 1.0
1757
+ },
1758
+ "action_correct": {
1759
+ "correct": 7,
1760
+ "total": 7,
1761
+ "rate": 1.0
1762
+ },
1763
+ "tool_correct": {
1764
+ "correct": 7,
1765
+ "total": 7,
1766
+ "rate": 1.0
1767
+ },
1768
+ "arguments_exact": {
1769
+ "correct": 7,
1770
+ "total": 7,
1771
+ "rate": 1.0
1772
+ },
1773
+ "sql_equivalent": {
1774
+ "correct": 0,
1775
+ "total": 0,
1776
+ "rate": 0.0
1777
+ },
1778
+ "success": {
1779
+ "correct": 7,
1780
+ "total": 7,
1781
+ "rate": 1.0
1782
+ }
1783
+ }
1784
+ }
1785
+ }
evaluation/gpu-final-console-metrics.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "checkpoint_sha256": "9489b5cde69c11f64b3e7031182e8248aa83790f1ad4aeefbf99a4e5e152e692",
3
+ "frozen_at_utc": "2026-09-10T14:00:36.513800+00:00",
4
+ "device": "CUDA BF16",
5
+ "source": "Captured successful remote evaluation console output; raw remote prediction files were not retrieved before SSH began refusing connections. Independent Mac evaluation is packaged separately.",
6
+ "decoding": "raw greedy; no repair, constrained decoding or teacher fallback",
7
+ "metrics": {
8
+ "test": {
9
+ "json_valid": {
10
+ "correct": 1196,
11
+ "total": 1196,
12
+ "rate": 1.0
13
+ },
14
+ "schema_valid": {
15
+ "correct": 1191,
16
+ "total": 1196,
17
+ "rate": 0.995819397993311
18
+ },
19
+ "action_correct": {
20
+ "correct": 1192,
21
+ "total": 1196,
22
+ "rate": 0.9966555183946488
23
+ },
24
+ "tool_correct": {
25
+ "correct": 1088,
26
+ "total": 1100,
27
+ "rate": 0.9890909090909091
28
+ },
29
+ "arguments_exact": {
30
+ "correct": 1014,
31
+ "total": 1100,
32
+ "rate": 0.9218181818181819
33
+ },
34
+ "sql_equivalent": {
35
+ "correct": 896,
36
+ "total": 912,
37
+ "rate": 0.9824561403508771
38
+ },
39
+ "success": {
40
+ "correct": 1106,
41
+ "total": 1196,
42
+ "rate": 0.9247491638795987
43
+ }
44
+ },
45
+ "manual": {
46
+ "json_valid": {
47
+ "correct": 160,
48
+ "total": 160,
49
+ "rate": 1.0
50
+ },
51
+ "schema_valid": {
52
+ "correct": 159,
53
+ "total": 160,
54
+ "rate": 0.99375
55
+ },
56
+ "action_correct": {
57
+ "correct": 159,
58
+ "total": 160,
59
+ "rate": 0.99375
60
+ },
61
+ "tool_correct": {
62
+ "correct": 146,
63
+ "total": 152,
64
+ "rate": 0.9605263157894737
65
+ },
66
+ "arguments_exact": {
67
+ "correct": 124,
68
+ "total": 152,
69
+ "rate": 0.8157894736842105
70
+ },
71
+ "sql_equivalent": {
72
+ "correct": 94,
73
+ "total": 112,
74
+ "rate": 0.8392857142857143
75
+ },
76
+ "success": {
77
+ "correct": 132,
78
+ "total": 160,
79
+ "rate": 0.825
80
+ }
81
+ }
82
+ }
83
+ }
evaluation/manual-mac.jsonl ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"id": "manual_2ad3e251c936135e2005_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "all", "question": "all specimens pls", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM specimens;"}}, "output": "{\"action\":\"clarify\",\"question\":\"This connection is read-only. Would you like a SELECT query instead?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": false, "tool_correct": false, "arguments_exact": false, "sql_equivalent": false, "success": false}}
2
+ {"id": "manual_2e2ac3c5dcf95429daaa_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "null", "question": "specimens title null records", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM specimens WHERE title IS NULL;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE title IS NULL;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
3
+ {"id": "manual_0b8db53d711baed4f4ed_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "gte", "question": "specimens cost minimum 10 include same", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM specimens WHERE cost >= 10;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens ORDER BY cost ASC LIMIT 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
4
+ {"id": "manual_2ad3e251c936135e2005_en", "language": "en", "backend": "supabase", "operation": "all", "question": "I need everything in specimens.", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
5
+ {"id": "manual_efee65268e6dc2bb069e_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "project", "question": "specimens only customer_name show", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT customer_name FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT customer_name FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
6
+ {"id": "manual_efee65268e6dc2bb069e_hinglish", "language": "hinglish", "backend": "supabase", "operation": "project", "question": "bas specimens ke customer_name dikha do", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT customer_name FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT customer_name FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
7
+ {"id": "manual_0b8db53d711baed4f4ed_hinglish", "language": "hinglish", "backend": "supabase", "operation": "gte", "question": "specimens me cost kam se kam 10 ho", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM specimens WHERE cost >= 10;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE cost >= 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
8
+ {"id": "manual_2e2ac3c5dcf95429daaa_hinglish", "language": "hinglish", "backend": "supabase", "operation": "null", "question": "specimens me jinka title NULL hai wo dikhao", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM specimens WHERE title IS NULL;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE price > 1500;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
9
+ {"id": "manual_2ad3e251c936135e2005_hinglish", "language": "hinglish", "backend": "supabase", "operation": "all", "question": "specimens ka sara data chahiye", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE display_name IS NULL;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
10
+ {"id": "manual_d735c1ac1979ff1e8620_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "sum", "question": "inspections price all add", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT SUM(price) FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT SUM(price) FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
11
+ {"id": "manual_0b8db53d711baed4f4ed_en", "language": "en", "backend": "supabase", "operation": "gte", "question": "Include specimens records at 10 or above in cost.", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM specimens WHERE cost >= 10;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE cost >= 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
12
+ {"id": "manual_2e2ac3c5dcf95429daaa_en", "language": "en", "backend": "supabase", "operation": "null", "question": "Find specimens records with no title value (NULL).", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM specimens WHERE title IS NULL;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE city = 'ApecULL';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
13
+ {"id": "manual_7dd163238936d96d0bd4_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "distinct", "question": "reservations city unique only", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT DISTINCT city FROM reservations;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT DISTINCT city FROM reservations;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
14
+ {"id": "manual_efee65268e6dc2bb069e_en", "language": "en", "backend": "supabase", "operation": "project", "question": "Just the customer_name values from specimens, please.", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT customer_name FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT customer_name FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
15
+ {"id": "manual_eb982cf071094adaca4f_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "project_eq", "question": "reservations category Delhi only name", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT name FROM reservations WHERE category = 'Delhi';"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT name FROM reservations WHERE category = 'Delhi';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
16
+ {"id": "manual_d735c1ac1979ff1e8620_en", "language": "en", "backend": "supabase", "operation": "sum", "question": "Add up price across inspections.", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT SUM(price) FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT display_name FROM inspections WHERE kind = 'Adddd';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
17
+ {"id": "manual_d735c1ac1979ff1e8620_hinglish", "language": "hinglish", "backend": "supabase", "operation": "sum", "question": "inspections ke price ka jod batao", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT SUM(price) FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT SUM(price) FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
18
+ {"id": "manual_c4f25575abfd24e3cd63_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "lte", "question": "reservations cost max 1 equal also", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM reservations WHERE cost <= 1;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM reservations ORDER BY cost DESC LIMIT 1;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
19
+ {"id": "manual_7dd163238936d96d0bd4_hinglish", "language": "hinglish", "backend": "supabase", "operation": "distinct", "question": "reservations me city ki unique values kya hain", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT DISTINCT city FROM reservations;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT DISTINCT city FROM reservations;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
20
+ {"id": "manual_eb982cf071094adaca4f_hinglish", "language": "hinglish", "backend": "supabase", "operation": "project_eq", "question": "reservations me category Delhi walon ka name batao", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT name FROM reservations WHERE category = 'Delhi';"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT name FROM reservations WHERE category = 'Delhi';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
21
+ {"id": "manual_eb982cf071094adaca4f_en", "language": "en", "backend": "supabase", "operation": "project_eq", "question": "In reservations, give me name for category Delhi.", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT name FROM reservations WHERE category = 'Delhi';"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT name FROM reservations WHERE category = 'Delhi';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
22
+ {"id": "manual_c4f25575abfd24e3cd63_hinglish", "language": "hinglish", "backend": "supabase", "operation": "lte", "question": "reservations me cost 1 ya usse kam ho", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM reservations WHERE cost <= 1;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM reservations WHERE cost <= 1;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
23
+ {"id": "manual_7dd163238936d96d0bd4_en", "language": "en", "backend": "supabase", "operation": "distinct", "question": "Which different city values occur in reservations?", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT DISTINCT city FROM reservations;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT DISTINCT city FROM reservations;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
24
+ {"id": "manual_efee65268e6dc2bb069e_hi", "language": "hi", "backend": "supabase", "operation": "project", "question": "specimens से सिर्फ customer_name दिखाना।", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT customer_name FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT customer_name FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
25
+ {"id": "manual_0b8db53d711baed4f4ed_hi", "language": "hi", "backend": "supabase", "operation": "gte", "question": "specimens में cost कम से कम 10 होना चाहिए।", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM specimens WHERE cost >= 10;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE cost >= 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
26
+ {"id": "manual_d735c1ac1979ff1e8620_hi", "language": "hi", "backend": "supabase", "operation": "sum", "question": "inspections के price का जोड़ बताओ।", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT SUM(price) FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT SUM(price) FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
27
+ {"id": "manual_2ad3e251c936135e2005_hi", "language": "hi", "backend": "supabase", "operation": "all", "question": "specimens का सारा डेटा चाहिए।", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
28
+ {"id": "manual_c4f25575abfd24e3cd63_hi", "language": "hi", "backend": "supabase", "operation": "lte", "question": "reservations में cost 1 या उससे कम हो।", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM reservations WHERE cost <= 1;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM reservations WHERE cost <= 1;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
29
+ {"id": "manual_c4f25575abfd24e3cd63_en", "language": "en", "backend": "supabase", "operation": "lte", "question": "From reservations, include cost values up to and including 1.", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM reservations WHERE cost <= 1;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM reservations WHERE cost BETWEEN 1 AND 1;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
30
+ {"id": "manual_eb982cf071094adaca4f_hi", "language": "hi", "backend": "supabase", "operation": "project_eq", "question": "reservations में category Delhi हो तो उनका name बताओ।", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT name FROM reservations WHERE category = 'Delhi';"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT name FROM reservations WHERE category = 'Delhi';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
31
+ {"id": "manual_7dd163238936d96d0bd4_hi", "language": "hi", "backend": "supabase", "operation": "distinct", "question": "reservations में city के अलग-अलग मान कौन से हैं?", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT DISTINCT city FROM reservations;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT DISTINCT city FROM reservations;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
32
+ {"id": "manual_2e2ac3c5dcf95429daaa_hi", "language": "hi", "backend": "supabase", "operation": "null", "question": "specimens में जिनका title NULL है वे रिकॉर्ड दिखाओ।", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM specimens WHERE title IS NULL;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM specimens WHERE price > 1500;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
33
+ {"id": "manual_5a8f2e207d0efe5b018c_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "list_tables", "question": "tables here list", "expected": {"action": "call", "name": "warehouse.list_tables", "arguments": {"project_id": "demo_specimens", "schemas": ["public"]}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specmemens\",\"query\":\"SELECT * FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": false, "arguments_exact": false, "sql_equivalent": null, "success": false}}
34
+ {"id": "manual_5a8f2e207d0efe5b018c_hinglish", "language": "hinglish", "backend": "supabase", "operation": "list_tables", "question": "yahan kaunsi tables hain", "expected": {"action": "call", "name": "warehouse.list_tables", "arguments": {"project_id": "demo_specimens", "schemas": ["public"]}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.list_tables\",\"arguments\":{\"project_id\":\"demo_specmemens\",\"schemas\":[\"public\"]}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": null, "success": false}}
35
+ {"id": "manual_8ebc9e868ee558a8ddfe_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "ambiguous", "question": "specimens best ones", "expected": {"action": "clarify", "question": "What does best mean: which column and order?"}, "output": "{\"action\":\"clarify\",\"question\":\"What does best mean: which column and order?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": true, "text_exact": true}}
36
+ {"id": "manual_35406fa024e66bcb5dd7_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "lt", "question": "specimens score less 10000", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_specimens", "query": "SELECT * FROM specimens WHERE score < 10000;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specimens\",\"query\":\"SELECT * FROM specimens WHERE score < 10000;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
37
+ {"id": "manual_82c104614df1ce6e2762_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "gt", "question": "specimens salary more than 100", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_specimens", "query": "SELECT * FROM specimens WHERE salary > 100;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specimens\",\"query\":\"SELECT * FROM specimens WHERE salary > 100;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
38
+ {"id": "manual_82c104614df1ce6e2762_en", "language": "en", "backend": "supabase", "operation": "gt", "question": "Which specimens entries have salary above 100?", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_specimens", "query": "SELECT * FROM specimens WHERE salary > 100;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specmemens\",\"query\":\"SELECT * FROM specimens WHERE salary > 100;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": true, "success": false}}
39
+ {"id": "manual_35406fa024e66bcb5dd7_en", "language": "en", "backend": "supabase", "operation": "lt", "question": "Find specimens records below 10000 in score.", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_specimens", "query": "SELECT * FROM specimens WHERE score < 10000;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specmemens\",\"query\":\"SELECT * FROM specimens WHERE score < 10000;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": true, "success": false}}
40
+ {"id": "manual_b564e1a7b1e7fc6d2ab4_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "avg", "question": "specimens avg score tell", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_specimens", "query": "SELECT AVG(score) FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specimens\",\"query\":\"SELECT AVG(score) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
41
+ {"id": "manual_5a8f2e207d0efe5b018c_en", "language": "en", "backend": "supabase", "operation": "list_tables", "question": "What tables can I query here?", "expected": {"action": "call", "name": "warehouse.list_tables", "arguments": {"project_id": "demo_specimens", "schemas": ["public"]}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.list_tables\",\"arguments\":{\"project_id\":\"demo_specmens\",\"schemas\":[\"public\"]}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": null, "success": false}}
42
+ {"id": "manual_8ebc9e868ee558a8ddfe_en", "language": "en", "backend": "supabase", "operation": "ambiguous", "question": "Pick the best entries in specimens.", "expected": {"action": "clarify", "question": "What does best mean: which column and order?"}, "output": "{\"action\":\"clarify\",\"question\":\"What does best mean: which column and order?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": true, "text_exact": true}}
43
+ {"id": "manual_8ebc9e868ee558a8ddfe_hinglish", "language": "hinglish", "backend": "supabase", "operation": "ambiguous", "question": "specimens me best records chun lo", "expected": {"action": "clarify", "question": "Best ka matlab kya hai? Kaunsa column aur order?"}, "output": "{\"action\":\"clarify\",\"question\":\"Best ka matlab kya hai? Kaunsa column aur order?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": true, "text_exact": true}}
44
+ {"id": "manual_35406fa024e66bcb5dd7_hinglish", "language": "hinglish", "backend": "supabase", "operation": "lt", "question": "specimens me score 10000 se kam wale lao", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_specimens", "query": "SELECT * FROM specimens WHERE score < 10000;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specimens\",\"query\":\"SELECT * FROM specimens WHERE score < 10000;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
45
+ {"id": "manual_82c104614df1ce6e2762_hinglish", "language": "hinglish", "backend": "supabase", "operation": "gt", "question": "specimens me salary 100 se upar wale kaun hain", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_specimens", "query": "SELECT * FROM specimens WHERE salary > 100;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specimens\",\"query\":\"SELECT * FROM specimens WHERE salary > 100;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
46
+ {"id": "manual_b564e1a7b1e7fc6d2ab4_en", "language": "en", "backend": "supabase", "operation": "avg", "question": "What does score average out to in specimens?", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_specimens", "query": "SELECT AVG(score) FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specmemens\",\"query\":\"SELECT AVG(score) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": true, "success": false}}
47
+ {"id": "manual_b564e1a7b1e7fc6d2ab4_hinglish", "language": "hinglish", "backend": "supabase", "operation": "avg", "question": "specimens me score ka average kya hai", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_specimens", "query": "SELECT AVG(score) FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specimens\",\"query\":\"SELECT AVG(score) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
48
+ {"id": "manual_40464b00088c9159e3d0_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "count", "question": "inspections total rows how much", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_inspections", "query": "SELECT COUNT(*) FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_inspections\",\"query\":\"SELECT COUNT(*) FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
49
+ {"id": "manual_475287613764159ee5eb_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "group_count", "question": "reservations count per category", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_reservations", "query": "SELECT category, COUNT(*) FROM reservations GROUP BY category;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_reservations\",\"query\":\"SELECT category, COUNT(*) FROM reservations GROUP BY category;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
50
+ {"id": "manual_fd0bab1cc08d7298f131_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "top", "question": "exhibits top 20 by salary big first", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_exhibits", "query": "SELECT * FROM exhibits ORDER BY salary DESC LIMIT 20;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_exhibits\",\"query\":\"SELECT * FROM exhibits ORDER BY salary DESC LIMIT 20;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
51
+ {"id": "manual_40464b00088c9159e3d0_hinglish", "language": "hinglish", "backend": "supabase", "operation": "count", "question": "inspections me total kitni rows hain", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_inspections", "query": "SELECT COUNT(*) FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_inspections\",\"query\":\"SELECT COUNT(*) FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
52
+ {"id": "manual_40464b00088c9159e3d0_en", "language": "en", "backend": "supabase", "operation": "count", "question": "How big is inspections, measured in rows?", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_inspections", "query": "SELECT COUNT(*) FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_inspections\",\"query\":\"SELECT COUNT(*) FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
53
+ {"id": "manual_fd0bab1cc08d7298f131_hinglish", "language": "hinglish", "backend": "supabase", "operation": "top", "question": "exhibits me sabse bade salary wali 20 rows descending dikhao", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_exhibits", "query": "SELECT * FROM exhibits ORDER BY salary DESC LIMIT 20;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_exhibits\",\"query\":\"SELECT * FROM exhibits ORDER BY salary DESC LIMIT 20;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
54
+ {"id": "manual_475287613764159ee5eb_hinglish", "language": "hinglish", "backend": "supabase", "operation": "group_count", "question": "reservations me har category ki count alag batao", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_reservations", "query": "SELECT category, COUNT(*) FROM reservations GROUP BY category;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_reservations\",\"query\":\"SELECT category, COUNT(*) FROM reservations GROUP BY category;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
55
+ {"id": "manual_5a8f2e207d0efe5b018c_hi", "language": "hi", "backend": "supabase", "operation": "list_tables", "question": "यहाँ कौन-कौन सी टेबल हैं?", "expected": {"action": "call", "name": "warehouse.list_tables", "arguments": {"project_id": "demo_specimens", "schemas": ["public"]}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specmemens\",\"query\":\"SELECT * FROM specimens WHERE kind = 'Delhi';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": false, "arguments_exact": false, "sql_equivalent": null, "success": false}}
56
+ {"id": "manual_b564e1a7b1e7fc6d2ab4_hi", "language": "hi", "backend": "supabase", "operation": "avg", "question": "specimens में score का औसत क्या है?", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_specimens", "query": "SELECT AVG(score) FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specimens\",\"query\":\"SELECT AVG(score) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
57
+ {"id": "manual_fd0bab1cc08d7298f131_en", "language": "en", "backend": "supabase", "operation": "top", "question": "Give me 20 entries in exhibits with the largest salary, largest first.", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_exhibits", "query": "SELECT * FROM exhibits ORDER BY salary DESC LIMIT 20;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_exhibits\",\"query\":\"SELECT * FROM exhibits ORDER BY salary DESC LIMIT 20;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
58
+ {"id": "manual_475287613764159ee5eb_en", "language": "en", "backend": "supabase", "operation": "group_count", "question": "Break down the number of reservations rows by category.", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_reservations", "query": "SELECT category, COUNT(*) FROM reservations GROUP BY category;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_reservations\",\"query\":\"SELECT COUNT(*) FROM reservations WHERE category = 'Areak downs';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
59
+ {"id": "manual_82c104614df1ce6e2762_hi", "language": "hi", "backend": "supabase", "operation": "gt", "question": "specimens में किनका salary 100 से ज़्यादा है?", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_specimens", "query": "SELECT * FROM specimens WHERE salary > 100;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specimens\",\"query\":\"SELECT * FROM specimens WHERE salary > 100;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
60
+ {"id": "manual_8ebc9e868ee558a8ddfe_hi", "language": "hi", "backend": "supabase", "operation": "ambiguous", "question": "specimens में सबसे अच्छे रिकॉर्ड चुनो।", "expected": {"action": "clarify", "question": "सबसे अच्छा से आपका क्या मतलब है? कौन सा कॉलम और क्रम?"}, "output": "{\"action\":\"clarify\",\"question\":\"सबसे अच्छा से आपका क्या मतलब है? कौन सा कॉलम और क्रम?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": true, "text_exact": true}}
61
+ {"id": "manual_c4210296305105ab7472_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "ambiguous", "question": "specimens best ones", "expected": {"action": "clarify", "question": "What does best mean: which column and order?"}, "output": "{\"action\":\"clarify\",\"question\":\"What does best mean: which column and order?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": true, "text_exact": true}}
62
+ {"id": "manual_9bf8948becf74e81a103_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "list_tables", "question": "tables here list", "expected": {"action": "call", "name": "warehouse.list_tables", "arguments": {"schemas": ["public"]}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT * FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": false, "arguments_exact": false, "sql_equivalent": null, "success": false}}
63
+ {"id": "manual_9bf8948becf74e81a103_hinglish", "language": "hinglish", "backend": "mysql", "operation": "list_tables", "question": "yahan kaunsi tables hain", "expected": {"action": "call", "name": "warehouse.list_tables", "arguments": {"schemas": ["public"]}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.list_tables\",\"arguments\":{\"schemas\":[\"public\"]}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
64
+ {"id": "manual_8efcf517aee64807a8e5_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "avg", "question": "specimens avg balance tell", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT AVG(balance) FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT AVG(balance) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
65
+ {"id": "manual_adff4eabe2639c0c128c_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "all", "question": "all inspections pls", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT * FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT * FROM inspections WHERE description IS NULL;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
66
+ {"id": "manual_35406fa024e66bcb5dd7_hi", "language": "hi", "backend": "supabase", "operation": "lt", "question": "specimens में score 10000 से कम वाले रिकॉर्ड लाओ।", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_specimens", "query": "SELECT * FROM specimens WHERE score < 10000;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_specimens\",\"query\":\"SELECT * FROM specimens WHERE score < 10000;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
67
+ {"id": "manual_23c0aa3a4596f995ad2a_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "count", "question": "specimens total rows how much", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT COUNT(*) FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT COUNT(*) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
68
+ {"id": "manual_475287613764159ee5eb_hi", "language": "hi", "backend": "supabase", "operation": "group_count", "question": "reservations में हर category की गिनती अलग-अलग बताओ।", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_reservations", "query": "SELECT category, COUNT(*) FROM reservations GROUP BY category;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_reservations\",\"query\":\"SELECT category, COUNT(*) FROM reservations GROUP BY category;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
69
+ {"id": "manual_23c0aa3a4596f995ad2a_hinglish", "language": "hinglish", "backend": "mysql", "operation": "count", "question": "specimens me total kitni rows hain", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT COUNT(*) FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT COUNT(*) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
70
+ {"id": "manual_2164b376f732a1c371ab_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "group_count", "question": "specimens count per kind", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"sql": "SELECT kind, COUNT(*) FROM specimens GROUP BY kind;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT kind, COUNT(*) FROM specimens GROUP BY kind;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
71
+ {"id": "manual_40464b00088c9159e3d0_hi", "language": "hi", "backend": "supabase", "operation": "count", "question": "inspections में कुल कितनी पंक्तियाँ हैं?", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_inspections", "query": "SELECT COUNT(*) FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_inspections\",\"query\":\"SELECT COUNT(*) FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
72
+ {"id": "manual_8efcf517aee64807a8e5_en", "language": "en", "backend": "mysql", "operation": "avg", "question": "What does balance average out to in specimens?", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT AVG(balance) FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT AVG(balance) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
73
+ {"id": "manual_8efcf517aee64807a8e5_hinglish", "language": "hinglish", "backend": "mysql", "operation": "avg", "question": "specimens me balance ka average kya hai", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT AVG(balance) FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT AVG(balance) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
74
+ {"id": "manual_c4210296305105ab7472_en", "language": "en", "backend": "mysql", "operation": "ambiguous", "question": "Pick the best entries in specimens.", "expected": {"action": "clarify", "question": "What does best mean: which column and order?"}, "output": "{\"action\":\"clarify\",\"question\":\"What does best mean: which column and order?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": true, "text_exact": true}}
75
+ {"id": "manual_c4210296305105ab7472_hinglish", "language": "hinglish", "backend": "mysql", "operation": "ambiguous", "question": "specimens me best records chun lo", "expected": {"action": "clarify", "question": "Best ka matlab kya hai? Kaunsa column aur order?"}, "output": "{\"action\":\"clarify\",\"question\":\"Best ka matlab kya hai? Kaunsa column aur order?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": true, "text_exact": true}}
76
+ {"id": "manual_23c0aa3a4596f995ad2a_en", "language": "en", "backend": "mysql", "operation": "count", "question": "How big is specimens, measured in rows?", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT COUNT(*) FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT COUNT(*) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
77
+ {"id": "manual_d30264bbc3b08aedbc51_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "sum", "question": "exhibits score all add", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT SUM(score) FROM exhibits;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT SUM(score) FROM exhibits;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
78
+ {"id": "manual_9bf8948becf74e81a103_en", "language": "en", "backend": "mysql", "operation": "list_tables", "question": "What tables can I query here?", "expected": {"action": "call", "name": "warehouse.list_tables", "arguments": {"schemas": ["public"]}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"schemas\":[\"public\"]}}", "metrics": {"json_valid": true, "schema_valid": false, "action_correct": true, "tool_correct": false, "arguments_exact": false, "sql_equivalent": null, "success": false, "error": "'sql' is a required property\n\nFailed validating 'required' in schema:\n {'type': 'object',\n 'properties': {'sql': {'type': 'string'}},\n 'required': ['sql'],\n 'additionalProperties': False}\n\nOn instance:\n {'schemas': ['public']}"}}
79
+ {"id": "manual_adff4eabe2639c0c128c_en", "language": "en", "backend": "mysql", "operation": "all", "question": "I need everything in inspections.", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT * FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT * FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
80
+ {"id": "manual_b9c176c07809f42564a0_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "top", "question": "inspections top 5 by amount big first", "expected": {"action": "call", "name": "warehouse.query", "arguments": {"query": "SELECT * FROM inspections ORDER BY amount DESC LIMIT 5;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT * FROM inspections ORDER BY amount DESC LIMIT 5;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
81
+ {"id": "manual_c023a5b6f95173ae856d_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "gt", "question": "exhibits score more than 50", "expected": {"action": "call", "name": "warehouse.query", "arguments": {"query": "SELECT * FROM exhibits WHERE score > 50;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT * FROM exhibits WHERE score > 50;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
82
+ {"id": "manual_adff4eabe2639c0c128c_hinglish", "language": "hinglish", "backend": "mysql", "operation": "all", "question": "inspections ka sara data chahiye", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT * FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT * FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
83
+ {"id": "manual_cab55a7429427fbc5093_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "distinct", "question": "inspections department unique only", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT DISTINCT department FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT DISTINCT department FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
84
+ {"id": "manual_e8f90532d34c12209a83_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "gte", "question": "inspections salary minimum 1500 include same", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM inspections WHERE salary >= 1500;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM inspections WHERE salary >= 1500;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
85
+ {"id": "manual_c023a5b6f95173ae856d_en", "language": "en", "backend": "mysql", "operation": "gt", "question": "Which exhibits entries have score above 50?", "expected": {"action": "call", "name": "warehouse.query", "arguments": {"query": "SELECT * FROM exhibits WHERE score > 50;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT * FROM exhibits WHERE score > 50;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
86
+ {"id": "manual_affa5e5e14444cd82bb4_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "lt", "question": "reservations salary less 10", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"sql": "SELECT * FROM reservations WHERE salary < 10;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE salary < 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
87
+ {"id": "manual_2164b376f732a1c371ab_hinglish", "language": "hinglish", "backend": "mysql", "operation": "group_count", "question": "specimens me har kind ki count alag batao", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"sql": "SELECT kind, COUNT(*) FROM specimens GROUP BY kind;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT kind, COUNT(*) FROM specimens GROUP BY kind;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
88
+ {"id": "manual_d30264bbc3b08aedbc51_en", "language": "en", "backend": "mysql", "operation": "sum", "question": "Add up score across exhibits.", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT SUM(score) FROM exhibits;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT name FROM exhibits WHERE city = 'Adddd';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false, "error": "no such column: name"}}
89
+ {"id": "manual_d30264bbc3b08aedbc51_hinglish", "language": "hinglish", "backend": "mysql", "operation": "sum", "question": "exhibits ke score ka jod batao", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT SUM(score) FROM exhibits;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT SUM(score) FROM exhibits;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
90
+ {"id": "manual_b02f421828127e2eb96b_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "lte", "question": "exhibits price max 2 equal also", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"sql": "SELECT * FROM exhibits WHERE price <= 2;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT * FROM exhibits ORDER BY price DESC LIMIT 2;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
91
+ {"id": "manual_b9c176c07809f42564a0_hinglish", "language": "hinglish", "backend": "mysql", "operation": "top", "question": "inspections me sabse bade amount wali 5 rows descending dikhao", "expected": {"action": "call", "name": "warehouse.query", "arguments": {"query": "SELECT * FROM inspections ORDER BY amount DESC LIMIT 5;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT * FROM inspections ORDER BY amount DESC LIMIT 5;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
92
+ {"id": "manual_e8f90532d34c12209a83_hinglish", "language": "hinglish", "backend": "mysql", "operation": "gte", "question": "inspections me salary kam se kam 1500 ho", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM inspections WHERE salary >= 1500;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM inspections WHERE salary >= 1500;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
93
+ {"id": "manual_2c31add7d7b45843dec1_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "project_eq", "question": "inspections kind Pune only display_name", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"sql": "SELECT display_name FROM inspections WHERE kind = 'Pune';"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT display_name FROM inspections WHERE kind = 'Pune';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
94
+ {"id": "manual_c023a5b6f95173ae856d_hinglish", "language": "hinglish", "backend": "mysql", "operation": "gt", "question": "exhibits me score 50 se upar wale kaun hain", "expected": {"action": "call", "name": "warehouse.query", "arguments": {"query": "SELECT * FROM exhibits WHERE score > 50;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT * FROM exhibits WHERE score > 50;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
95
+ {"id": "manual_2164b376f732a1c371ab_en", "language": "en", "backend": "mysql", "operation": "group_count", "question": "Break down the number of specimens rows by kind.", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"sql": "SELECT kind, COUNT(*) FROM specimens GROUP BY kind;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT COUNT(*) FROM specimens WHERE kind = 'ureak down';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
96
+ {"id": "manual_b02f421828127e2eb96b_hinglish", "language": "hinglish", "backend": "mysql", "operation": "lte", "question": "exhibits me price 2 ya usse kam ho", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"sql": "SELECT * FROM exhibits WHERE price <= 2;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT * FROM exhibits WHERE price <= 2;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
97
+ {"id": "manual_8efcf517aee64807a8e5_hi", "language": "hi", "backend": "mysql", "operation": "avg", "question": "specimens में balance का औसत क्या है?", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT AVG(balance) FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT AVG(balance) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
98
+ {"id": "manual_cab55a7429427fbc5093_hinglish", "language": "hinglish", "backend": "mysql", "operation": "distinct", "question": "inspections me department ki unique values kya hain", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT DISTINCT department FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT DISTINCT department FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
99
+ {"id": "manual_b9c176c07809f42564a0_en", "language": "en", "backend": "mysql", "operation": "top", "question": "Give me 5 entries in inspections with the largest amount, largest first.", "expected": {"action": "call", "name": "warehouse.query", "arguments": {"query": "SELECT * FROM inspections ORDER BY amount DESC LIMIT 5;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT * FROM inspections ORDER BY amount DESC LIMIT 5;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
100
+ {"id": "manual_a060620c638d2dc3759e_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "project", "question": "reservations only item_name show", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"sql": "SELECT item_name FROM reservations;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT item_name FROM reservations;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
101
+ {"id": "manual_affa5e5e14444cd82bb4_en", "language": "en", "backend": "mysql", "operation": "lt", "question": "Find reservations records below 10 in salary.", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"sql": "SELECT * FROM reservations WHERE salary < 10;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE salary < 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
102
+ {"id": "manual_affa5e5e14444cd82bb4_hinglish", "language": "hinglish", "backend": "mysql", "operation": "lt", "question": "reservations me salary 10 se kam wale lao", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"sql": "SELECT * FROM reservations WHERE salary < 10;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE salary < 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
103
+ {"id": "manual_e8f90532d34c12209a83_en", "language": "en", "backend": "mysql", "operation": "gte", "question": "Include inspections records at 1500 or above in salary.", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM inspections WHERE salary >= 1500;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM inspections WHERE salary >= 1500;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
104
+ {"id": "manual_04b2e5886e750df09a51_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "null", "question": "reservations display_name null records", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"sql": "SELECT * FROM reservations WHERE display_name IS NULL;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE display_name IS NULL;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
105
+ {"id": "manual_9bf8948becf74e81a103_hi", "language": "hi", "backend": "mysql", "operation": "list_tables", "question": "यहाँ कौन-कौन सी टेबल हैं?", "expected": {"action": "call", "name": "warehouse.list_tables", "arguments": {"schemas": ["public"]}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT * FROM specimens WHERE kind = 'Jaipur';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": false, "arguments_exact": false, "sql_equivalent": null, "success": false}}
106
+ {"id": "manual_cab55a7429427fbc5093_en", "language": "en", "backend": "mysql", "operation": "distinct", "question": "Which different department values occur in inspections?", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT DISTINCT department FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT DISTINCT department FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
107
+ {"id": "manual_2c31add7d7b45843dec1_en", "language": "en", "backend": "mysql", "operation": "project_eq", "question": "In inspections, give me display_name for kind Pune.", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"sql": "SELECT display_name FROM inspections WHERE kind = 'Pune';"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT display_name FROM inspections WHERE kind = 'Pune';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
108
+ {"id": "manual_2c31add7d7b45843dec1_hinglish", "language": "hinglish", "backend": "mysql", "operation": "project_eq", "question": "inspections me kind Pune walon ka display_name batao", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"sql": "SELECT display_name FROM inspections WHERE kind = 'Pune';"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT display_name FROM inspections WHERE kind = 'Pune';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
109
+ {"id": "manual_a060620c638d2dc3759e_hinglish", "language": "hinglish", "backend": "mysql", "operation": "project", "question": "bas reservations ke item_name dikha do", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"sql": "SELECT item_name FROM reservations;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT item_name FROM reservations;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
110
+ {"id": "manual_b02f421828127e2eb96b_en", "language": "en", "backend": "mysql", "operation": "lte", "question": "From exhibits, include price values up to and including 2.", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"sql": "SELECT * FROM exhibits WHERE price <= 2;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT * FROM exhibits WHERE price BETWEEN 2 AND 2;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
111
+ {"id": "manual_b02f421828127e2eb96b_hi", "language": "hi", "backend": "mysql", "operation": "lte", "question": "exhibits में price 2 या उससे कम हो।", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"sql": "SELECT * FROM exhibits WHERE price <= 2;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT * FROM exhibits WHERE price <= 2;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
112
+ {"id": "manual_d30264bbc3b08aedbc51_hi", "language": "hi", "backend": "mysql", "operation": "sum", "question": "exhibits के score का जोड़ बताओ।", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT SUM(score) FROM exhibits;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT SUM(score) FROM exhibits;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
113
+ {"id": "manual_04b2e5886e750df09a51_hinglish", "language": "hinglish", "backend": "mysql", "operation": "null", "question": "reservations me jinka display_name NULL hai wo dikhao", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"sql": "SELECT * FROM reservations WHERE display_name IS NULL;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE quantity > 1500;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
114
+ {"id": "manual_a060620c638d2dc3759e_en", "language": "en", "backend": "mysql", "operation": "project", "question": "Just the item_name values from reservations, please.", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"sql": "SELECT item_name FROM reservations;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT item_name FROM reservations;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
115
+ {"id": "manual_adff4eabe2639c0c128c_hi", "language": "hi", "backend": "mysql", "operation": "all", "question": "inspections का सारा डेटा चाहिए।", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT * FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT * FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
116
+ {"id": "manual_c4210296305105ab7472_hi", "language": "hi", "backend": "mysql", "operation": "ambiguous", "question": "specimens में सबसे अच्छे रिकॉर्ड चुनो।", "expected": {"action": "clarify", "question": "सबसे अच्छा से आपका क्या मतलब है? कौन सा कॉलम और क्रम?"}, "output": "{\"action\":\"clarify\",\"question\":\"सबसे अच्छा से आपका क्या मतलब है? कौन सा कॉलम और क्रम?\"}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": null, "arguments_exact": null, "sql_equivalent": null, "success": true, "text_exact": true}}
117
+ {"id": "manual_23c0aa3a4596f995ad2a_hi", "language": "hi", "backend": "mysql", "operation": "count", "question": "specimens में कुल कितनी पंक्तियाँ हैं?", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT COUNT(*) FROM specimens;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT COUNT(*) FROM specimens;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
118
+ {"id": "manual_2164b376f732a1c371ab_hi", "language": "hi", "backend": "mysql", "operation": "group_count", "question": "specimens में हर kind की गिनती अलग-अलग बताओ।", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"sql": "SELECT kind, COUNT(*) FROM specimens GROUP BY kind;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT kind, COUNT(*) FROM specimens GROUP BY kind;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
119
+ {"id": "manual_c023a5b6f95173ae856d_hi", "language": "hi", "backend": "mysql", "operation": "gt", "question": "exhibits में किनका score 50 से ज़्यादा है?", "expected": {"action": "call", "name": "warehouse.query", "arguments": {"query": "SELECT * FROM exhibits WHERE score > 50;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT * FROM exhibits WHERE score > 50;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
120
+ {"id": "manual_e8f90532d34c12209a83_hi", "language": "hi", "backend": "mysql", "operation": "gte", "question": "inspections में salary कम से कम 1500 होना चाहिए।", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"query": "SELECT * FROM inspections WHERE salary >= 1500;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"query\":\"SELECT * FROM inspections WHERE salary >= 1500;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
121
+ {"id": "manual_04b2e5886e750df09a51_en", "language": "en", "backend": "mysql", "operation": "null", "question": "Find reservations records with no display_name value (NULL).", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"sql": "SELECT * FROM reservations WHERE display_name IS NULL;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE display_name IS NOT NULL;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
122
+ {"id": "manual_2c31add7d7b45843dec1_hi", "language": "hi", "backend": "mysql", "operation": "project_eq", "question": "inspections में kind Pune हो तो उनका display_name बताओ।", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"sql": "SELECT display_name FROM inspections WHERE kind = 'Pune';"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT display_name FROM inspections WHERE kind = 'Pune';\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
123
+ {"id": "manual_fd0bab1cc08d7298f131_hi", "language": "hi", "backend": "supabase", "operation": "top", "question": "exhibits में सबसे ज़्यादा salary वाली 20 पंक्तियाँ घटते क्रम में दिखाओ।", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"project_id": "demo_exhibits", "query": "SELECT * FROM exhibits ORDER BY salary DESC LIMIT 20;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"project_id\":\"demo_exhibits\",\"query\":\"SELECT * FROM exhibits ORDER BY salary DESC LIMIT 20;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
124
+ {"id": "manual_cab55a7429427fbc5093_hi", "language": "hi", "backend": "mysql", "operation": "distinct", "question": "inspections में department के अलग-अलग मान कौन से हैं?", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"query": "SELECT DISTINCT department FROM inspections;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"query\":\"SELECT DISTINCT department FROM inspections;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
125
+ {"id": "manual_a060620c638d2dc3759e_hi", "language": "hi", "backend": "mysql", "operation": "project", "question": "reservations से सिर्फ item_name दिखाना।", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"sql": "SELECT item_name FROM reservations;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT item_name FROM reservations;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
126
+ {"id": "manual_affa5e5e14444cd82bb4_hi", "language": "hi", "backend": "mysql", "operation": "lt", "question": "reservations में salary 10 से कम वाले रिकॉर्ड लाओ।", "expected": {"action": "call", "name": "warehouse.execute_sql", "arguments": {"sql": "SELECT * FROM reservations WHERE salary < 10;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.execute_sql\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE salary < 10;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
127
+ {"id": "manual_04b2e5886e750df09a51_hi", "language": "hi", "backend": "mysql", "operation": "null", "question": "reservations में जिनका display_name NULL है वे रिकॉर्ड दिखाओ।", "expected": {"action": "call", "name": "warehouse.run_query", "arguments": {"sql": "SELECT * FROM reservations WHERE display_name IS NULL;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.run_query\",\"arguments\":{\"sql\":\"SELECT * FROM reservations WHERE quantity > 1500;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": false, "sql_equivalent": false, "success": false}}
128
+ {"id": "manual_b9c176c07809f42564a0_hi", "language": "hi", "backend": "mysql", "operation": "top", "question": "inspections में सबसे ज़्यादा amount वाली 5 पंक्तियाँ घटते क्रम में दिखाओ।", "expected": {"action": "call", "name": "warehouse.query", "arguments": {"query": "SELECT * FROM inspections ORDER BY amount DESC LIMIT 5;"}}, "output": "{\"action\":\"call\",\"name\":\"warehouse.query\",\"arguments\":{\"query\":\"SELECT * FROM inspections ORDER BY amount DESC LIMIT 5;\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": true, "success": true}}
129
+ {"id": "manual_88b478ce80eed61bdfb4_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "weather", "question": "Jaipur weather celsius pls", "expected": {"action": "call", "name": "external.get_weather", "arguments": {"city": "Jaipur", "unit": "celsius"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Jaipur\",\"unit\":\"celsius\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
130
+ {"id": "manual_88b478ce80eed61bdfb4_hinglish", "language": "hinglish", "backend": "supabase", "operation": "weather", "question": "Jaipur ka weather celsius me batao", "expected": {"action": "call", "name": "external.get_weather", "arguments": {"city": "Jaipur", "unit": "celsius"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Jaipur\",\"unit\":\"celsius\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
131
+ {"id": "manual_88b478ce80eed61bdfb4_en", "language": "en", "backend": "supabase", "operation": "weather", "question": "What is the weather like in Jaipur? Use celsius.", "expected": {"action": "call", "name": "external.get_weather", "arguments": {"city": "Jaipur", "unit": "celsius"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Jaipur\",\"unit\":\"celsius\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
132
+ {"id": "manual_88b478ce80eed61bdfb4_hi", "language": "hi", "backend": "supabase", "operation": "weather", "question": "Jaipur का मौसम celsius में बताओ।", "expected": {"action": "call", "name": "external.get_weather", "arguments": {"city": "Jaipur", "unit": "celsius"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Jaipur\",\"unit\":\"celsius\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
133
+ {"id": "manual_4e42bbd40467b2b8c27f_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "search", "question": "docs find SQL joins", "expected": {"action": "call", "name": "external.search_docs", "arguments": {"query": "SQL joins"}}, "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"SQL joins\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
134
+ {"id": "manual_8a696e3c3522dd69d5ac_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "ticket", "question": "ticket TKT-4486 details", "expected": {"action": "call", "name": "external.get_ticket", "arguments": {"ticket_id": "TKT-4486"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_ticket\",\"arguments\":{\"ticket_id\":\"TKT-4486\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
135
+ {"id": "manual_4e42bbd40467b2b8c27f_en", "language": "en", "backend": "supabase", "operation": "search", "question": "Find documentation about SQL joins.", "expected": {"action": "call", "name": "external.search_docs", "arguments": {"query": "SQL joins"}}, "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"SQL joins\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
136
+ {"id": "manual_f73e21e0eb10d6617995_noisy_en", "language": "noisy_en", "backend": "supabase", "operation": "read_file", "question": "/config/app.json read pls", "expected": {"action": "call", "name": "external.read_file", "arguments": {"path": "/config/app.json"}}, "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/config/app.json\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
137
+ {"id": "manual_8a696e3c3522dd69d5ac_hinglish", "language": "hinglish", "backend": "supabase", "operation": "ticket", "question": "ticket TKT-4486 ki details lao", "expected": {"action": "call", "name": "external.get_ticket", "arguments": {"ticket_id": "TKT-4486"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_ticket\",\"arguments\":{\"ticket_id\":\"TKT-4486\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
138
+ {"id": "manual_4e42bbd40467b2b8c27f_hinglish", "language": "hinglish", "backend": "supabase", "operation": "search", "question": "SQL joins ke bare me docs dhundho", "expected": {"action": "call", "name": "external.search_docs", "arguments": {"query": "SQL joins"}}, "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"SQL joins\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
139
+ {"id": "manual_f73e21e0eb10d6617995_hinglish", "language": "hinglish", "backend": "supabase", "operation": "read_file", "question": "/config/app.json file padh kar dikhao", "expected": {"action": "call", "name": "external.read_file", "arguments": {"path": "/config/app.json"}}, "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/config/app.json\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
140
+ {"id": "manual_8a696e3c3522dd69d5ac_en", "language": "en", "backend": "supabase", "operation": "ticket", "question": "Fetch the details for ticket TKT-4486.", "expected": {"action": "call", "name": "external.get_ticket", "arguments": {"ticket_id": "TKT-4486"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_ticket\",\"arguments\":{\"ticket_id\":\"TKT-4486\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
141
+ {"id": "manual_f73e21e0eb10d6617995_en", "language": "en", "backend": "supabase", "operation": "read_file", "question": "Open /config/app.json and read its text.", "expected": {"action": "call", "name": "external.read_file", "arguments": {"path": "/config/app.json"}}, "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/config/app.json\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
142
+ {"id": "manual_8a696e3c3522dd69d5ac_hi", "language": "hi", "backend": "supabase", "operation": "ticket", "question": "टिकट TKT-4486 का विवरण लाओ।", "expected": {"action": "call", "name": "external.get_ticket", "arguments": {"ticket_id": "TKT-4486"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_ticket\",\"arguments\":{\"ticket_id\":\"TKT-4486\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
143
+ {"id": "manual_f73e21e0eb10d6617995_hi", "language": "hi", "backend": "supabase", "operation": "read_file", "question": "/config/app.json फ़ाइल पढ़कर दिखाओ।", "expected": {"action": "call", "name": "external.read_file", "arguments": {"path": "/config/app.json"}}, "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/config/app.json\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
144
+ {"id": "manual_252c6053295d69a93c94_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "search", "question": "docs find database backups", "expected": {"action": "call", "name": "external.search_docs", "arguments": {"query": "database backups"}}, "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"database backups\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
145
+ {"id": "manual_5ebc52b3d20bde2076b3_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "ticket", "question": "ticket TKT-6124 details", "expected": {"action": "call", "name": "external.get_ticket", "arguments": {"ticket_id": "TKT-6124"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_ticket\",\"arguments\":{\"ticket_id\":\"TKT-6124\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
146
+ {"id": "manual_754691bd1eea25d41ccf_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "weather", "question": "Delhi weather fahrenheit pls", "expected": {"action": "call", "name": "external.get_weather", "arguments": {"city": "Delhi", "unit": "fahrenheit"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Delhi\",\"unit\":\"fahrenheit\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
147
+ {"id": "manual_252c6053295d69a93c94_en", "language": "en", "backend": "mysql", "operation": "search", "question": "Find documentation about database backups.", "expected": {"action": "call", "name": "external.search_docs", "arguments": {"query": "database backups"}}, "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"database backups\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
148
+ {"id": "manual_4e42bbd40467b2b8c27f_hi", "language": "hi", "backend": "supabase", "operation": "search", "question": "SQL joins के बारे में दस्तावेज़ खोजो।", "expected": {"action": "call", "name": "external.search_docs", "arguments": {"query": "SQL joins"}}, "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"SQL joins\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
149
+ {"id": "manual_5ebc52b3d20bde2076b3_hinglish", "language": "hinglish", "backend": "mysql", "operation": "ticket", "question": "ticket TKT-6124 ki details lao", "expected": {"action": "call", "name": "external.get_ticket", "arguments": {"ticket_id": "TKT-6124"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_ticket\",\"arguments\":{\"ticket_id\":\"TKT-6124\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
150
+ {"id": "manual_754691bd1eea25d41ccf_hinglish", "language": "hinglish", "backend": "mysql", "operation": "weather", "question": "Delhi ka weather fahrenheit me batao", "expected": {"action": "call", "name": "external.get_weather", "arguments": {"city": "Delhi", "unit": "fahrenheit"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Delhi\",\"unit\":\"fahrenheit\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
151
+ {"id": "manual_252c6053295d69a93c94_hinglish", "language": "hinglish", "backend": "mysql", "operation": "search", "question": "database backups ke bare me docs dhundho", "expected": {"action": "call", "name": "external.search_docs", "arguments": {"query": "database backups"}}, "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"database backups\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
152
+ {"id": "manual_6f3055c580b33340c854_noisy_en", "language": "noisy_en", "backend": "mysql", "operation": "read_file", "question": "/notes/setup.txt read pls", "expected": {"action": "call", "name": "external.read_file", "arguments": {"path": "/notes/setup.txt"}}, "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/notes/setup.txt\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
153
+ {"id": "manual_5ebc52b3d20bde2076b3_en", "language": "en", "backend": "mysql", "operation": "ticket", "question": "Fetch the details for ticket TKT-6124.", "expected": {"action": "call", "name": "external.get_ticket", "arguments": {"ticket_id": "TKT-6124"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_ticket\",\"arguments\":{\"ticket_id\":\"TKT-6124\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
154
+ {"id": "manual_6f3055c580b33340c854_hinglish", "language": "hinglish", "backend": "mysql", "operation": "read_file", "question": "/notes/setup.txt file padh kar dikhao", "expected": {"action": "call", "name": "external.read_file", "arguments": {"path": "/notes/setup.txt"}}, "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/notes/setup.txt\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
155
+ {"id": "manual_6f3055c580b33340c854_en", "language": "en", "backend": "mysql", "operation": "read_file", "question": "Open /notes/setup.txt and read its text.", "expected": {"action": "call", "name": "external.read_file", "arguments": {"path": "/notes/setup.txt"}}, "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/notes/setup.txt\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
156
+ {"id": "manual_754691bd1eea25d41ccf_en", "language": "en", "backend": "mysql", "operation": "weather", "question": "What is the weather like in Delhi? Use fahrenheit.", "expected": {"action": "call", "name": "external.get_weather", "arguments": {"city": "Delhi", "unit": "fahrenheit"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Delhi\",\"unit\":\"fahrenheit\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
157
+ {"id": "manual_754691bd1eea25d41ccf_hi", "language": "hi", "backend": "mysql", "operation": "weather", "question": "Delhi का मौसम fahrenheit में बताओ।", "expected": {"action": "call", "name": "external.get_weather", "arguments": {"city": "Delhi", "unit": "fahrenheit"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_weather\",\"arguments\":{\"city\":\"Delhi\",\"unit\":\"fahrenheit\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
158
+ {"id": "manual_5ebc52b3d20bde2076b3_hi", "language": "hi", "backend": "mysql", "operation": "ticket", "question": "टिकट TKT-6124 का विवरण लाओ।", "expected": {"action": "call", "name": "external.get_ticket", "arguments": {"ticket_id": "TKT-6124"}}, "output": "{\"action\":\"call\",\"name\":\"external.get_ticket\",\"arguments\":{\"ticket_id\":\"TKT-6124\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
159
+ {"id": "manual_6f3055c580b33340c854_hi", "language": "hi", "backend": "mysql", "operation": "read_file", "question": "/notes/setup.txt फ़ाइल पढ़कर दिखाओ।", "expected": {"action": "call", "name": "external.read_file", "arguments": {"path": "/notes/setup.txt"}}, "output": "{\"action\":\"call\",\"name\":\"external.read_file\",\"arguments\":{\"path\":\"/notes/setup.txt\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
160
+ {"id": "manual_252c6053295d69a93c94_hi", "language": "hi", "backend": "mysql", "operation": "search", "question": "database backups के बारे में दस्तावेज़ खोजो।", "expected": {"action": "call", "name": "external.search_docs", "arguments": {"query": "database backups"}}, "output": "{\"action\":\"call\",\"name\":\"external.search_docs\",\"arguments\":{\"query\":\"database backups\"}}", "metrics": {"json_valid": true, "schema_valid": true, "action_correct": true, "tool_correct": true, "arguments_exact": true, "sql_equivalent": null, "success": true}}
evaluation/manual-mac.summary.json ADDED
@@ -0,0 +1,1008 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "examples": 160,
3
+ "seconds": 16.877315998077393,
4
+ "decoding": "raw greedy, no repair, no teacher fallback",
5
+ "checkpoint_sha256": "9489b5cde69c11f64b3e7031182e8248aa83790f1ad4aeefbf99a4e5e152e692",
6
+ "sql_metric": "Compile against the supplied schema, then compare results on two generated SQLite fixtures after dialect adaptation; not native MySQL/PostgreSQL execution.",
7
+ "metrics": {
8
+ "json_valid": {
9
+ "correct": 160,
10
+ "total": 160,
11
+ "rate": 1.0
12
+ },
13
+ "schema_valid": {
14
+ "correct": 159,
15
+ "total": 160,
16
+ "rate": 0.99375
17
+ },
18
+ "action_correct": {
19
+ "correct": 159,
20
+ "total": 160,
21
+ "rate": 0.99375
22
+ },
23
+ "tool_correct": {
24
+ "correct": 146,
25
+ "total": 152,
26
+ "rate": 0.9605263157894737
27
+ },
28
+ "arguments_exact": {
29
+ "correct": 124,
30
+ "total": 152,
31
+ "rate": 0.8157894736842105
32
+ },
33
+ "sql_equivalent": {
34
+ "correct": 94,
35
+ "total": 112,
36
+ "rate": 0.8392857142857143
37
+ },
38
+ "success": {
39
+ "correct": 132,
40
+ "total": 160,
41
+ "rate": 0.825
42
+ }
43
+ },
44
+ "groups": {
45
+ "language:noisy_en": {
46
+ "json_valid": {
47
+ "correct": 40,
48
+ "total": 40,
49
+ "rate": 1.0
50
+ },
51
+ "schema_valid": {
52
+ "correct": 40,
53
+ "total": 40,
54
+ "rate": 1.0
55
+ },
56
+ "action_correct": {
57
+ "correct": 39,
58
+ "total": 40,
59
+ "rate": 0.975
60
+ },
61
+ "tool_correct": {
62
+ "correct": 35,
63
+ "total": 38,
64
+ "rate": 0.9210526315789473
65
+ },
66
+ "arguments_exact": {
67
+ "correct": 31,
68
+ "total": 38,
69
+ "rate": 0.8157894736842105
70
+ },
71
+ "sql_equivalent": {
72
+ "correct": 23,
73
+ "total": 28,
74
+ "rate": 0.8214285714285714
75
+ },
76
+ "success": {
77
+ "correct": 33,
78
+ "total": 40,
79
+ "rate": 0.825
80
+ }
81
+ },
82
+ "backend:supabase": {
83
+ "json_valid": {
84
+ "correct": 80,
85
+ "total": 80,
86
+ "rate": 1.0
87
+ },
88
+ "schema_valid": {
89
+ "correct": 80,
90
+ "total": 80,
91
+ "rate": 1.0
92
+ },
93
+ "action_correct": {
94
+ "correct": 79,
95
+ "total": 80,
96
+ "rate": 0.9875
97
+ },
98
+ "tool_correct": {
99
+ "correct": 73,
100
+ "total": 76,
101
+ "rate": 0.9605263157894737
102
+ },
103
+ "arguments_exact": {
104
+ "correct": 59,
105
+ "total": 76,
106
+ "rate": 0.7763157894736842
107
+ },
108
+ "sql_equivalent": {
109
+ "correct": 46,
110
+ "total": 56,
111
+ "rate": 0.8214285714285714
112
+ },
113
+ "success": {
114
+ "correct": 63,
115
+ "total": 80,
116
+ "rate": 0.7875
117
+ }
118
+ },
119
+ "operation:all": {
120
+ "json_valid": {
121
+ "correct": 8,
122
+ "total": 8,
123
+ "rate": 1.0
124
+ },
125
+ "schema_valid": {
126
+ "correct": 8,
127
+ "total": 8,
128
+ "rate": 1.0
129
+ },
130
+ "action_correct": {
131
+ "correct": 7,
132
+ "total": 8,
133
+ "rate": 0.875
134
+ },
135
+ "tool_correct": {
136
+ "correct": 7,
137
+ "total": 8,
138
+ "rate": 0.875
139
+ },
140
+ "arguments_exact": {
141
+ "correct": 5,
142
+ "total": 8,
143
+ "rate": 0.625
144
+ },
145
+ "sql_equivalent": {
146
+ "correct": 5,
147
+ "total": 8,
148
+ "rate": 0.625
149
+ },
150
+ "success": {
151
+ "correct": 5,
152
+ "total": 8,
153
+ "rate": 0.625
154
+ }
155
+ },
156
+ "operation:null": {
157
+ "json_valid": {
158
+ "correct": 8,
159
+ "total": 8,
160
+ "rate": 1.0
161
+ },
162
+ "schema_valid": {
163
+ "correct": 8,
164
+ "total": 8,
165
+ "rate": 1.0
166
+ },
167
+ "action_correct": {
168
+ "correct": 8,
169
+ "total": 8,
170
+ "rate": 1.0
171
+ },
172
+ "tool_correct": {
173
+ "correct": 8,
174
+ "total": 8,
175
+ "rate": 1.0
176
+ },
177
+ "arguments_exact": {
178
+ "correct": 2,
179
+ "total": 8,
180
+ "rate": 0.25
181
+ },
182
+ "sql_equivalent": {
183
+ "correct": 2,
184
+ "total": 8,
185
+ "rate": 0.25
186
+ },
187
+ "success": {
188
+ "correct": 2,
189
+ "total": 8,
190
+ "rate": 0.25
191
+ }
192
+ },
193
+ "operation:gte": {
194
+ "json_valid": {
195
+ "correct": 8,
196
+ "total": 8,
197
+ "rate": 1.0
198
+ },
199
+ "schema_valid": {
200
+ "correct": 8,
201
+ "total": 8,
202
+ "rate": 1.0
203
+ },
204
+ "action_correct": {
205
+ "correct": 8,
206
+ "total": 8,
207
+ "rate": 1.0
208
+ },
209
+ "tool_correct": {
210
+ "correct": 8,
211
+ "total": 8,
212
+ "rate": 1.0
213
+ },
214
+ "arguments_exact": {
215
+ "correct": 7,
216
+ "total": 8,
217
+ "rate": 0.875
218
+ },
219
+ "sql_equivalent": {
220
+ "correct": 7,
221
+ "total": 8,
222
+ "rate": 0.875
223
+ },
224
+ "success": {
225
+ "correct": 7,
226
+ "total": 8,
227
+ "rate": 0.875
228
+ }
229
+ },
230
+ "language:en": {
231
+ "json_valid": {
232
+ "correct": 40,
233
+ "total": 40,
234
+ "rate": 1.0
235
+ },
236
+ "schema_valid": {
237
+ "correct": 39,
238
+ "total": 40,
239
+ "rate": 0.975
240
+ },
241
+ "action_correct": {
242
+ "correct": 40,
243
+ "total": 40,
244
+ "rate": 1.0
245
+ },
246
+ "tool_correct": {
247
+ "correct": 37,
248
+ "total": 38,
249
+ "rate": 0.9736842105263158
250
+ },
251
+ "arguments_exact": {
252
+ "correct": 25,
253
+ "total": 38,
254
+ "rate": 0.6578947368421053
255
+ },
256
+ "sql_equivalent": {
257
+ "correct": 20,
258
+ "total": 28,
259
+ "rate": 0.7142857142857143
260
+ },
261
+ "success": {
262
+ "correct": 27,
263
+ "total": 40,
264
+ "rate": 0.675
265
+ }
266
+ },
267
+ "operation:project": {
268
+ "json_valid": {
269
+ "correct": 8,
270
+ "total": 8,
271
+ "rate": 1.0
272
+ },
273
+ "schema_valid": {
274
+ "correct": 8,
275
+ "total": 8,
276
+ "rate": 1.0
277
+ },
278
+ "action_correct": {
279
+ "correct": 8,
280
+ "total": 8,
281
+ "rate": 1.0
282
+ },
283
+ "tool_correct": {
284
+ "correct": 8,
285
+ "total": 8,
286
+ "rate": 1.0
287
+ },
288
+ "arguments_exact": {
289
+ "correct": 8,
290
+ "total": 8,
291
+ "rate": 1.0
292
+ },
293
+ "sql_equivalent": {
294
+ "correct": 8,
295
+ "total": 8,
296
+ "rate": 1.0
297
+ },
298
+ "success": {
299
+ "correct": 8,
300
+ "total": 8,
301
+ "rate": 1.0
302
+ }
303
+ },
304
+ "language:hinglish": {
305
+ "json_valid": {
306
+ "correct": 40,
307
+ "total": 40,
308
+ "rate": 1.0
309
+ },
310
+ "schema_valid": {
311
+ "correct": 40,
312
+ "total": 40,
313
+ "rate": 1.0
314
+ },
315
+ "action_correct": {
316
+ "correct": 40,
317
+ "total": 40,
318
+ "rate": 1.0
319
+ },
320
+ "tool_correct": {
321
+ "correct": 38,
322
+ "total": 38,
323
+ "rate": 1.0
324
+ },
325
+ "arguments_exact": {
326
+ "correct": 34,
327
+ "total": 38,
328
+ "rate": 0.8947368421052632
329
+ },
330
+ "sql_equivalent": {
331
+ "correct": 25,
332
+ "total": 28,
333
+ "rate": 0.8928571428571429
334
+ },
335
+ "success": {
336
+ "correct": 36,
337
+ "total": 40,
338
+ "rate": 0.9
339
+ }
340
+ },
341
+ "operation:sum": {
342
+ "json_valid": {
343
+ "correct": 8,
344
+ "total": 8,
345
+ "rate": 1.0
346
+ },
347
+ "schema_valid": {
348
+ "correct": 8,
349
+ "total": 8,
350
+ "rate": 1.0
351
+ },
352
+ "action_correct": {
353
+ "correct": 8,
354
+ "total": 8,
355
+ "rate": 1.0
356
+ },
357
+ "tool_correct": {
358
+ "correct": 8,
359
+ "total": 8,
360
+ "rate": 1.0
361
+ },
362
+ "arguments_exact": {
363
+ "correct": 6,
364
+ "total": 8,
365
+ "rate": 0.75
366
+ },
367
+ "sql_equivalent": {
368
+ "correct": 6,
369
+ "total": 8,
370
+ "rate": 0.75
371
+ },
372
+ "success": {
373
+ "correct": 6,
374
+ "total": 8,
375
+ "rate": 0.75
376
+ }
377
+ },
378
+ "operation:distinct": {
379
+ "json_valid": {
380
+ "correct": 8,
381
+ "total": 8,
382
+ "rate": 1.0
383
+ },
384
+ "schema_valid": {
385
+ "correct": 8,
386
+ "total": 8,
387
+ "rate": 1.0
388
+ },
389
+ "action_correct": {
390
+ "correct": 8,
391
+ "total": 8,
392
+ "rate": 1.0
393
+ },
394
+ "tool_correct": {
395
+ "correct": 8,
396
+ "total": 8,
397
+ "rate": 1.0
398
+ },
399
+ "arguments_exact": {
400
+ "correct": 8,
401
+ "total": 8,
402
+ "rate": 1.0
403
+ },
404
+ "sql_equivalent": {
405
+ "correct": 8,
406
+ "total": 8,
407
+ "rate": 1.0
408
+ },
409
+ "success": {
410
+ "correct": 8,
411
+ "total": 8,
412
+ "rate": 1.0
413
+ }
414
+ },
415
+ "operation:project_eq": {
416
+ "json_valid": {
417
+ "correct": 8,
418
+ "total": 8,
419
+ "rate": 1.0
420
+ },
421
+ "schema_valid": {
422
+ "correct": 8,
423
+ "total": 8,
424
+ "rate": 1.0
425
+ },
426
+ "action_correct": {
427
+ "correct": 8,
428
+ "total": 8,
429
+ "rate": 1.0
430
+ },
431
+ "tool_correct": {
432
+ "correct": 8,
433
+ "total": 8,
434
+ "rate": 1.0
435
+ },
436
+ "arguments_exact": {
437
+ "correct": 8,
438
+ "total": 8,
439
+ "rate": 1.0
440
+ },
441
+ "sql_equivalent": {
442
+ "correct": 8,
443
+ "total": 8,
444
+ "rate": 1.0
445
+ },
446
+ "success": {
447
+ "correct": 8,
448
+ "total": 8,
449
+ "rate": 1.0
450
+ }
451
+ },
452
+ "operation:lte": {
453
+ "json_valid": {
454
+ "correct": 8,
455
+ "total": 8,
456
+ "rate": 1.0
457
+ },
458
+ "schema_valid": {
459
+ "correct": 8,
460
+ "total": 8,
461
+ "rate": 1.0
462
+ },
463
+ "action_correct": {
464
+ "correct": 8,
465
+ "total": 8,
466
+ "rate": 1.0
467
+ },
468
+ "tool_correct": {
469
+ "correct": 8,
470
+ "total": 8,
471
+ "rate": 1.0
472
+ },
473
+ "arguments_exact": {
474
+ "correct": 4,
475
+ "total": 8,
476
+ "rate": 0.5
477
+ },
478
+ "sql_equivalent": {
479
+ "correct": 4,
480
+ "total": 8,
481
+ "rate": 0.5
482
+ },
483
+ "success": {
484
+ "correct": 4,
485
+ "total": 8,
486
+ "rate": 0.5
487
+ }
488
+ },
489
+ "language:hi": {
490
+ "json_valid": {
491
+ "correct": 40,
492
+ "total": 40,
493
+ "rate": 1.0
494
+ },
495
+ "schema_valid": {
496
+ "correct": 40,
497
+ "total": 40,
498
+ "rate": 1.0
499
+ },
500
+ "action_correct": {
501
+ "correct": 40,
502
+ "total": 40,
503
+ "rate": 1.0
504
+ },
505
+ "tool_correct": {
506
+ "correct": 36,
507
+ "total": 38,
508
+ "rate": 0.9473684210526315
509
+ },
510
+ "arguments_exact": {
511
+ "correct": 34,
512
+ "total": 38,
513
+ "rate": 0.8947368421052632
514
+ },
515
+ "sql_equivalent": {
516
+ "correct": 26,
517
+ "total": 28,
518
+ "rate": 0.9285714285714286
519
+ },
520
+ "success": {
521
+ "correct": 36,
522
+ "total": 40,
523
+ "rate": 0.9
524
+ }
525
+ },
526
+ "operation:list_tables": {
527
+ "json_valid": {
528
+ "correct": 8,
529
+ "total": 8,
530
+ "rate": 1.0
531
+ },
532
+ "schema_valid": {
533
+ "correct": 7,
534
+ "total": 8,
535
+ "rate": 0.875
536
+ },
537
+ "action_correct": {
538
+ "correct": 8,
539
+ "total": 8,
540
+ "rate": 1.0
541
+ },
542
+ "tool_correct": {
543
+ "correct": 3,
544
+ "total": 8,
545
+ "rate": 0.375
546
+ },
547
+ "arguments_exact": {
548
+ "correct": 1,
549
+ "total": 8,
550
+ "rate": 0.125
551
+ },
552
+ "sql_equivalent": {
553
+ "correct": 0,
554
+ "total": 0,
555
+ "rate": 0.0
556
+ },
557
+ "success": {
558
+ "correct": 1,
559
+ "total": 8,
560
+ "rate": 0.125
561
+ }
562
+ },
563
+ "operation:ambiguous": {
564
+ "json_valid": {
565
+ "correct": 8,
566
+ "total": 8,
567
+ "rate": 1.0
568
+ },
569
+ "schema_valid": {
570
+ "correct": 8,
571
+ "total": 8,
572
+ "rate": 1.0
573
+ },
574
+ "action_correct": {
575
+ "correct": 8,
576
+ "total": 8,
577
+ "rate": 1.0
578
+ },
579
+ "tool_correct": {
580
+ "correct": 0,
581
+ "total": 0,
582
+ "rate": 0.0
583
+ },
584
+ "arguments_exact": {
585
+ "correct": 0,
586
+ "total": 0,
587
+ "rate": 0.0
588
+ },
589
+ "sql_equivalent": {
590
+ "correct": 0,
591
+ "total": 0,
592
+ "rate": 0.0
593
+ },
594
+ "success": {
595
+ "correct": 8,
596
+ "total": 8,
597
+ "rate": 1.0
598
+ }
599
+ },
600
+ "operation:lt": {
601
+ "json_valid": {
602
+ "correct": 8,
603
+ "total": 8,
604
+ "rate": 1.0
605
+ },
606
+ "schema_valid": {
607
+ "correct": 8,
608
+ "total": 8,
609
+ "rate": 1.0
610
+ },
611
+ "action_correct": {
612
+ "correct": 8,
613
+ "total": 8,
614
+ "rate": 1.0
615
+ },
616
+ "tool_correct": {
617
+ "correct": 8,
618
+ "total": 8,
619
+ "rate": 1.0
620
+ },
621
+ "arguments_exact": {
622
+ "correct": 7,
623
+ "total": 8,
624
+ "rate": 0.875
625
+ },
626
+ "sql_equivalent": {
627
+ "correct": 8,
628
+ "total": 8,
629
+ "rate": 1.0
630
+ },
631
+ "success": {
632
+ "correct": 7,
633
+ "total": 8,
634
+ "rate": 0.875
635
+ }
636
+ },
637
+ "operation:gt": {
638
+ "json_valid": {
639
+ "correct": 8,
640
+ "total": 8,
641
+ "rate": 1.0
642
+ },
643
+ "schema_valid": {
644
+ "correct": 8,
645
+ "total": 8,
646
+ "rate": 1.0
647
+ },
648
+ "action_correct": {
649
+ "correct": 8,
650
+ "total": 8,
651
+ "rate": 1.0
652
+ },
653
+ "tool_correct": {
654
+ "correct": 8,
655
+ "total": 8,
656
+ "rate": 1.0
657
+ },
658
+ "arguments_exact": {
659
+ "correct": 7,
660
+ "total": 8,
661
+ "rate": 0.875
662
+ },
663
+ "sql_equivalent": {
664
+ "correct": 8,
665
+ "total": 8,
666
+ "rate": 1.0
667
+ },
668
+ "success": {
669
+ "correct": 7,
670
+ "total": 8,
671
+ "rate": 0.875
672
+ }
673
+ },
674
+ "operation:avg": {
675
+ "json_valid": {
676
+ "correct": 8,
677
+ "total": 8,
678
+ "rate": 1.0
679
+ },
680
+ "schema_valid": {
681
+ "correct": 8,
682
+ "total": 8,
683
+ "rate": 1.0
684
+ },
685
+ "action_correct": {
686
+ "correct": 8,
687
+ "total": 8,
688
+ "rate": 1.0
689
+ },
690
+ "tool_correct": {
691
+ "correct": 8,
692
+ "total": 8,
693
+ "rate": 1.0
694
+ },
695
+ "arguments_exact": {
696
+ "correct": 7,
697
+ "total": 8,
698
+ "rate": 0.875
699
+ },
700
+ "sql_equivalent": {
701
+ "correct": 8,
702
+ "total": 8,
703
+ "rate": 1.0
704
+ },
705
+ "success": {
706
+ "correct": 7,
707
+ "total": 8,
708
+ "rate": 0.875
709
+ }
710
+ },
711
+ "operation:count": {
712
+ "json_valid": {
713
+ "correct": 8,
714
+ "total": 8,
715
+ "rate": 1.0
716
+ },
717
+ "schema_valid": {
718
+ "correct": 8,
719
+ "total": 8,
720
+ "rate": 1.0
721
+ },
722
+ "action_correct": {
723
+ "correct": 8,
724
+ "total": 8,
725
+ "rate": 1.0
726
+ },
727
+ "tool_correct": {
728
+ "correct": 8,
729
+ "total": 8,
730
+ "rate": 1.0
731
+ },
732
+ "arguments_exact": {
733
+ "correct": 8,
734
+ "total": 8,
735
+ "rate": 1.0
736
+ },
737
+ "sql_equivalent": {
738
+ "correct": 8,
739
+ "total": 8,
740
+ "rate": 1.0
741
+ },
742
+ "success": {
743
+ "correct": 8,
744
+ "total": 8,
745
+ "rate": 1.0
746
+ }
747
+ },
748
+ "operation:group_count": {
749
+ "json_valid": {
750
+ "correct": 8,
751
+ "total": 8,
752
+ "rate": 1.0
753
+ },
754
+ "schema_valid": {
755
+ "correct": 8,
756
+ "total": 8,
757
+ "rate": 1.0
758
+ },
759
+ "action_correct": {
760
+ "correct": 8,
761
+ "total": 8,
762
+ "rate": 1.0
763
+ },
764
+ "tool_correct": {
765
+ "correct": 8,
766
+ "total": 8,
767
+ "rate": 1.0
768
+ },
769
+ "arguments_exact": {
770
+ "correct": 6,
771
+ "total": 8,
772
+ "rate": 0.75
773
+ },
774
+ "sql_equivalent": {
775
+ "correct": 6,
776
+ "total": 8,
777
+ "rate": 0.75
778
+ },
779
+ "success": {
780
+ "correct": 6,
781
+ "total": 8,
782
+ "rate": 0.75
783
+ }
784
+ },
785
+ "operation:top": {
786
+ "json_valid": {
787
+ "correct": 8,
788
+ "total": 8,
789
+ "rate": 1.0
790
+ },
791
+ "schema_valid": {
792
+ "correct": 8,
793
+ "total": 8,
794
+ "rate": 1.0
795
+ },
796
+ "action_correct": {
797
+ "correct": 8,
798
+ "total": 8,
799
+ "rate": 1.0
800
+ },
801
+ "tool_correct": {
802
+ "correct": 8,
803
+ "total": 8,
804
+ "rate": 1.0
805
+ },
806
+ "arguments_exact": {
807
+ "correct": 8,
808
+ "total": 8,
809
+ "rate": 1.0
810
+ },
811
+ "sql_equivalent": {
812
+ "correct": 8,
813
+ "total": 8,
814
+ "rate": 1.0
815
+ },
816
+ "success": {
817
+ "correct": 8,
818
+ "total": 8,
819
+ "rate": 1.0
820
+ }
821
+ },
822
+ "backend:mysql": {
823
+ "json_valid": {
824
+ "correct": 80,
825
+ "total": 80,
826
+ "rate": 1.0
827
+ },
828
+ "schema_valid": {
829
+ "correct": 79,
830
+ "total": 80,
831
+ "rate": 0.9875
832
+ },
833
+ "action_correct": {
834
+ "correct": 80,
835
+ "total": 80,
836
+ "rate": 1.0
837
+ },
838
+ "tool_correct": {
839
+ "correct": 73,
840
+ "total": 76,
841
+ "rate": 0.9605263157894737
842
+ },
843
+ "arguments_exact": {
844
+ "correct": 65,
845
+ "total": 76,
846
+ "rate": 0.8552631578947368
847
+ },
848
+ "sql_equivalent": {
849
+ "correct": 48,
850
+ "total": 56,
851
+ "rate": 0.8571428571428571
852
+ },
853
+ "success": {
854
+ "correct": 69,
855
+ "total": 80,
856
+ "rate": 0.8625
857
+ }
858
+ },
859
+ "operation:weather": {
860
+ "json_valid": {
861
+ "correct": 8,
862
+ "total": 8,
863
+ "rate": 1.0
864
+ },
865
+ "schema_valid": {
866
+ "correct": 8,
867
+ "total": 8,
868
+ "rate": 1.0
869
+ },
870
+ "action_correct": {
871
+ "correct": 8,
872
+ "total": 8,
873
+ "rate": 1.0
874
+ },
875
+ "tool_correct": {
876
+ "correct": 8,
877
+ "total": 8,
878
+ "rate": 1.0
879
+ },
880
+ "arguments_exact": {
881
+ "correct": 8,
882
+ "total": 8,
883
+ "rate": 1.0
884
+ },
885
+ "sql_equivalent": {
886
+ "correct": 0,
887
+ "total": 0,
888
+ "rate": 0.0
889
+ },
890
+ "success": {
891
+ "correct": 8,
892
+ "total": 8,
893
+ "rate": 1.0
894
+ }
895
+ },
896
+ "operation:search": {
897
+ "json_valid": {
898
+ "correct": 8,
899
+ "total": 8,
900
+ "rate": 1.0
901
+ },
902
+ "schema_valid": {
903
+ "correct": 8,
904
+ "total": 8,
905
+ "rate": 1.0
906
+ },
907
+ "action_correct": {
908
+ "correct": 8,
909
+ "total": 8,
910
+ "rate": 1.0
911
+ },
912
+ "tool_correct": {
913
+ "correct": 8,
914
+ "total": 8,
915
+ "rate": 1.0
916
+ },
917
+ "arguments_exact": {
918
+ "correct": 8,
919
+ "total": 8,
920
+ "rate": 1.0
921
+ },
922
+ "sql_equivalent": {
923
+ "correct": 0,
924
+ "total": 0,
925
+ "rate": 0.0
926
+ },
927
+ "success": {
928
+ "correct": 8,
929
+ "total": 8,
930
+ "rate": 1.0
931
+ }
932
+ },
933
+ "operation:ticket": {
934
+ "json_valid": {
935
+ "correct": 8,
936
+ "total": 8,
937
+ "rate": 1.0
938
+ },
939
+ "schema_valid": {
940
+ "correct": 8,
941
+ "total": 8,
942
+ "rate": 1.0
943
+ },
944
+ "action_correct": {
945
+ "correct": 8,
946
+ "total": 8,
947
+ "rate": 1.0
948
+ },
949
+ "tool_correct": {
950
+ "correct": 8,
951
+ "total": 8,
952
+ "rate": 1.0
953
+ },
954
+ "arguments_exact": {
955
+ "correct": 8,
956
+ "total": 8,
957
+ "rate": 1.0
958
+ },
959
+ "sql_equivalent": {
960
+ "correct": 0,
961
+ "total": 0,
962
+ "rate": 0.0
963
+ },
964
+ "success": {
965
+ "correct": 8,
966
+ "total": 8,
967
+ "rate": 1.0
968
+ }
969
+ },
970
+ "operation:read_file": {
971
+ "json_valid": {
972
+ "correct": 8,
973
+ "total": 8,
974
+ "rate": 1.0
975
+ },
976
+ "schema_valid": {
977
+ "correct": 8,
978
+ "total": 8,
979
+ "rate": 1.0
980
+ },
981
+ "action_correct": {
982
+ "correct": 8,
983
+ "total": 8,
984
+ "rate": 1.0
985
+ },
986
+ "tool_correct": {
987
+ "correct": 8,
988
+ "total": 8,
989
+ "rate": 1.0
990
+ },
991
+ "arguments_exact": {
992
+ "correct": 8,
993
+ "total": 8,
994
+ "rate": 1.0
995
+ },
996
+ "sql_equivalent": {
997
+ "correct": 0,
998
+ "total": 0,
999
+ "rate": 0.0
1000
+ },
1001
+ "success": {
1002
+ "correct": 8,
1003
+ "total": 8,
1004
+ "rate": 1.0
1005
+ }
1006
+ }
1007
+ }
1008
+ }
evaluation/test-mac.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
evaluation/test-mac.summary.json ADDED
@@ -0,0 +1,1933 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "examples": 1196,
3
+ "seconds": 141.622967004776,
4
+ "decoding": "raw greedy, no repair, no teacher fallback",
5
+ "checkpoint_sha256": "9489b5cde69c11f64b3e7031182e8248aa83790f1ad4aeefbf99a4e5e152e692",
6
+ "sql_metric": "Compile against the supplied schema, then compare results on two generated SQLite fixtures after dialect adaptation; not native MySQL/PostgreSQL execution.",
7
+ "metrics": {
8
+ "json_valid": {
9
+ "correct": 1196,
10
+ "total": 1196,
11
+ "rate": 1.0
12
+ },
13
+ "schema_valid": {
14
+ "correct": 1191,
15
+ "total": 1196,
16
+ "rate": 0.995819397993311
17
+ },
18
+ "action_correct": {
19
+ "correct": 1192,
20
+ "total": 1196,
21
+ "rate": 0.9966555183946488
22
+ },
23
+ "tool_correct": {
24
+ "correct": 1088,
25
+ "total": 1100,
26
+ "rate": 0.9890909090909091
27
+ },
28
+ "arguments_exact": {
29
+ "correct": 1014,
30
+ "total": 1100,
31
+ "rate": 0.9218181818181819
32
+ },
33
+ "sql_equivalent": {
34
+ "correct": 896,
35
+ "total": 912,
36
+ "rate": 0.9824561403508771
37
+ },
38
+ "success": {
39
+ "correct": 1106,
40
+ "total": 1196,
41
+ "rate": 0.9247491638795987
42
+ }
43
+ },
44
+ "groups": {
45
+ "language:noisy_en": {
46
+ "json_valid": {
47
+ "correct": 299,
48
+ "total": 299,
49
+ "rate": 1.0
50
+ },
51
+ "schema_valid": {
52
+ "correct": 298,
53
+ "total": 299,
54
+ "rate": 0.9966555183946488
55
+ },
56
+ "action_correct": {
57
+ "correct": 299,
58
+ "total": 299,
59
+ "rate": 1.0
60
+ },
61
+ "tool_correct": {
62
+ "correct": 274,
63
+ "total": 275,
64
+ "rate": 0.9963636363636363
65
+ },
66
+ "arguments_exact": {
67
+ "correct": 252,
68
+ "total": 275,
69
+ "rate": 0.9163636363636364
70
+ },
71
+ "sql_equivalent": {
72
+ "correct": 228,
73
+ "total": 228,
74
+ "rate": 1.0
75
+ },
76
+ "success": {
77
+ "correct": 276,
78
+ "total": 299,
79
+ "rate": 0.9230769230769231
80
+ }
81
+ },
82
+ "backend:supabase": {
83
+ "json_valid": {
84
+ "correct": 588,
85
+ "total": 588,
86
+ "rate": 1.0
87
+ },
88
+ "schema_valid": {
89
+ "correct": 588,
90
+ "total": 588,
91
+ "rate": 1.0
92
+ },
93
+ "action_correct": {
94
+ "correct": 588,
95
+ "total": 588,
96
+ "rate": 1.0
97
+ },
98
+ "tool_correct": {
99
+ "correct": 541,
100
+ "total": 544,
101
+ "rate": 0.9944852941176471
102
+ },
103
+ "arguments_exact": {
104
+ "correct": 480,
105
+ "total": 544,
106
+ "rate": 0.8823529411764706
107
+ },
108
+ "sql_equivalent": {
109
+ "correct": 429,
110
+ "total": 436,
111
+ "rate": 0.9839449541284404
112
+ },
113
+ "success": {
114
+ "correct": 524,
115
+ "total": 588,
116
+ "rate": 0.891156462585034
117
+ }
118
+ },
119
+ "operation:missing_schema": {
120
+ "json_valid": {
121
+ "correct": 24,
122
+ "total": 24,
123
+ "rate": 1.0
124
+ },
125
+ "schema_valid": {
126
+ "correct": 24,
127
+ "total": 24,
128
+ "rate": 1.0
129
+ },
130
+ "action_correct": {
131
+ "correct": 24,
132
+ "total": 24,
133
+ "rate": 1.0
134
+ },
135
+ "tool_correct": {
136
+ "correct": 24,
137
+ "total": 24,
138
+ "rate": 1.0
139
+ },
140
+ "arguments_exact": {
141
+ "correct": 20,
142
+ "total": 24,
143
+ "rate": 0.8333333333333334
144
+ },
145
+ "sql_equivalent": {
146
+ "correct": 0,
147
+ "total": 0,
148
+ "rate": 0.0
149
+ },
150
+ "success": {
151
+ "correct": 20,
152
+ "total": 24,
153
+ "rate": 0.8333333333333334
154
+ }
155
+ },
156
+ "language:en": {
157
+ "json_valid": {
158
+ "correct": 299,
159
+ "total": 299,
160
+ "rate": 1.0
161
+ },
162
+ "schema_valid": {
163
+ "correct": 298,
164
+ "total": 299,
165
+ "rate": 0.9966555183946488
166
+ },
167
+ "action_correct": {
168
+ "correct": 297,
169
+ "total": 299,
170
+ "rate": 0.9933110367892977
171
+ },
172
+ "tool_correct": {
173
+ "correct": 274,
174
+ "total": 275,
175
+ "rate": 0.9963636363636363
176
+ },
177
+ "arguments_exact": {
178
+ "correct": 246,
179
+ "total": 275,
180
+ "rate": 0.8945454545454545
181
+ },
182
+ "sql_equivalent": {
183
+ "correct": 222,
184
+ "total": 228,
185
+ "rate": 0.9736842105263158
186
+ },
187
+ "success": {
188
+ "correct": 268,
189
+ "total": 299,
190
+ "rate": 0.8963210702341137
191
+ }
192
+ },
193
+ "language:hinglish": {
194
+ "json_valid": {
195
+ "correct": 299,
196
+ "total": 299,
197
+ "rate": 1.0
198
+ },
199
+ "schema_valid": {
200
+ "correct": 297,
201
+ "total": 299,
202
+ "rate": 0.9933110367892977
203
+ },
204
+ "action_correct": {
205
+ "correct": 297,
206
+ "total": 299,
207
+ "rate": 0.9933110367892977
208
+ },
209
+ "tool_correct": {
210
+ "correct": 273,
211
+ "total": 275,
212
+ "rate": 0.9927272727272727
213
+ },
214
+ "arguments_exact": {
215
+ "correct": 262,
216
+ "total": 275,
217
+ "rate": 0.9527272727272728
218
+ },
219
+ "sql_equivalent": {
220
+ "correct": 228,
221
+ "total": 228,
222
+ "rate": 1.0
223
+ },
224
+ "success": {
225
+ "correct": 284,
226
+ "total": 299,
227
+ "rate": 0.9498327759197325
228
+ }
229
+ },
230
+ "operation:sql_error": {
231
+ "json_valid": {
232
+ "correct": 20,
233
+ "total": 20,
234
+ "rate": 1.0
235
+ },
236
+ "schema_valid": {
237
+ "correct": 20,
238
+ "total": 20,
239
+ "rate": 1.0
240
+ },
241
+ "action_correct": {
242
+ "correct": 20,
243
+ "total": 20,
244
+ "rate": 1.0
245
+ },
246
+ "tool_correct": {
247
+ "correct": 20,
248
+ "total": 20,
249
+ "rate": 1.0
250
+ },
251
+ "arguments_exact": {
252
+ "correct": 12,
253
+ "total": 20,
254
+ "rate": 0.6
255
+ },
256
+ "sql_equivalent": {
257
+ "correct": 0,
258
+ "total": 0,
259
+ "rate": 0.0
260
+ },
261
+ "success": {
262
+ "correct": 12,
263
+ "total": 20,
264
+ "rate": 0.6
265
+ }
266
+ },
267
+ "backend:mysql": {
268
+ "json_valid": {
269
+ "correct": 608,
270
+ "total": 608,
271
+ "rate": 1.0
272
+ },
273
+ "schema_valid": {
274
+ "correct": 603,
275
+ "total": 608,
276
+ "rate": 0.9917763157894737
277
+ },
278
+ "action_correct": {
279
+ "correct": 604,
280
+ "total": 608,
281
+ "rate": 0.993421052631579
282
+ },
283
+ "tool_correct": {
284
+ "correct": 547,
285
+ "total": 556,
286
+ "rate": 0.9838129496402878
287
+ },
288
+ "arguments_exact": {
289
+ "correct": 534,
290
+ "total": 556,
291
+ "rate": 0.960431654676259
292
+ },
293
+ "sql_equivalent": {
294
+ "correct": 467,
295
+ "total": 476,
296
+ "rate": 0.9810924369747899
297
+ },
298
+ "success": {
299
+ "correct": 582,
300
+ "total": 608,
301
+ "rate": 0.9572368421052632
302
+ }
303
+ },
304
+ "operation:list_tables": {
305
+ "json_valid": {
306
+ "correct": 24,
307
+ "total": 24,
308
+ "rate": 1.0
309
+ },
310
+ "schema_valid": {
311
+ "correct": 24,
312
+ "total": 24,
313
+ "rate": 1.0
314
+ },
315
+ "action_correct": {
316
+ "correct": 24,
317
+ "total": 24,
318
+ "rate": 1.0
319
+ },
320
+ "tool_correct": {
321
+ "correct": 24,
322
+ "total": 24,
323
+ "rate": 1.0
324
+ },
325
+ "arguments_exact": {
326
+ "correct": 12,
327
+ "total": 24,
328
+ "rate": 0.5
329
+ },
330
+ "sql_equivalent": {
331
+ "correct": 0,
332
+ "total": 0,
333
+ "rate": 0.0
334
+ },
335
+ "success": {
336
+ "correct": 12,
337
+ "total": 24,
338
+ "rate": 0.5
339
+ }
340
+ },
341
+ "operation:all": {
342
+ "json_valid": {
343
+ "correct": 28,
344
+ "total": 28,
345
+ "rate": 1.0
346
+ },
347
+ "schema_valid": {
348
+ "correct": 28,
349
+ "total": 28,
350
+ "rate": 1.0
351
+ },
352
+ "action_correct": {
353
+ "correct": 28,
354
+ "total": 28,
355
+ "rate": 1.0
356
+ },
357
+ "tool_correct": {
358
+ "correct": 28,
359
+ "total": 28,
360
+ "rate": 1.0
361
+ },
362
+ "arguments_exact": {
363
+ "correct": 28,
364
+ "total": 28,
365
+ "rate": 1.0
366
+ },
367
+ "sql_equivalent": {
368
+ "correct": 28,
369
+ "total": 28,
370
+ "rate": 1.0
371
+ },
372
+ "success": {
373
+ "correct": 28,
374
+ "total": 28,
375
+ "rate": 1.0
376
+ }
377
+ },
378
+ "operation:count": {
379
+ "json_valid": {
380
+ "correct": 28,
381
+ "total": 28,
382
+ "rate": 1.0
383
+ },
384
+ "schema_valid": {
385
+ "correct": 28,
386
+ "total": 28,
387
+ "rate": 1.0
388
+ },
389
+ "action_correct": {
390
+ "correct": 28,
391
+ "total": 28,
392
+ "rate": 1.0
393
+ },
394
+ "tool_correct": {
395
+ "correct": 28,
396
+ "total": 28,
397
+ "rate": 1.0
398
+ },
399
+ "arguments_exact": {
400
+ "correct": 23,
401
+ "total": 28,
402
+ "rate": 0.8214285714285714
403
+ },
404
+ "sql_equivalent": {
405
+ "correct": 23,
406
+ "total": 28,
407
+ "rate": 0.8214285714285714
408
+ },
409
+ "success": {
410
+ "correct": 23,
411
+ "total": 28,
412
+ "rate": 0.8214285714285714
413
+ }
414
+ },
415
+ "operation:avg": {
416
+ "json_valid": {
417
+ "correct": 28,
418
+ "total": 28,
419
+ "rate": 1.0
420
+ },
421
+ "schema_valid": {
422
+ "correct": 28,
423
+ "total": 28,
424
+ "rate": 1.0
425
+ },
426
+ "action_correct": {
427
+ "correct": 28,
428
+ "total": 28,
429
+ "rate": 1.0
430
+ },
431
+ "tool_correct": {
432
+ "correct": 28,
433
+ "total": 28,
434
+ "rate": 1.0
435
+ },
436
+ "arguments_exact": {
437
+ "correct": 26,
438
+ "total": 28,
439
+ "rate": 0.9285714285714286
440
+ },
441
+ "sql_equivalent": {
442
+ "correct": 28,
443
+ "total": 28,
444
+ "rate": 1.0
445
+ },
446
+ "success": {
447
+ "correct": 26,
448
+ "total": 28,
449
+ "rate": 0.9285714285714286
450
+ }
451
+ },
452
+ "operation:describe": {
453
+ "json_valid": {
454
+ "correct": 24,
455
+ "total": 24,
456
+ "rate": 1.0
457
+ },
458
+ "schema_valid": {
459
+ "correct": 23,
460
+ "total": 24,
461
+ "rate": 0.9583333333333334
462
+ },
463
+ "action_correct": {
464
+ "correct": 24,
465
+ "total": 24,
466
+ "rate": 1.0
467
+ },
468
+ "tool_correct": {
469
+ "correct": 23,
470
+ "total": 24,
471
+ "rate": 0.9583333333333334
472
+ },
473
+ "arguments_exact": {
474
+ "correct": 19,
475
+ "total": 24,
476
+ "rate": 0.7916666666666666
477
+ },
478
+ "sql_equivalent": {
479
+ "correct": 0,
480
+ "total": 0,
481
+ "rate": 0.0
482
+ },
483
+ "success": {
484
+ "correct": 19,
485
+ "total": 24,
486
+ "rate": 0.7916666666666666
487
+ }
488
+ },
489
+ "operation:project": {
490
+ "json_valid": {
491
+ "correct": 28,
492
+ "total": 28,
493
+ "rate": 1.0
494
+ },
495
+ "schema_valid": {
496
+ "correct": 28,
497
+ "total": 28,
498
+ "rate": 1.0
499
+ },
500
+ "action_correct": {
501
+ "correct": 28,
502
+ "total": 28,
503
+ "rate": 1.0
504
+ },
505
+ "tool_correct": {
506
+ "correct": 28,
507
+ "total": 28,
508
+ "rate": 1.0
509
+ },
510
+ "arguments_exact": {
511
+ "correct": 28,
512
+ "total": 28,
513
+ "rate": 1.0
514
+ },
515
+ "sql_equivalent": {
516
+ "correct": 28,
517
+ "total": 28,
518
+ "rate": 1.0
519
+ },
520
+ "success": {
521
+ "correct": 28,
522
+ "total": 28,
523
+ "rate": 1.0
524
+ }
525
+ },
526
+ "operation:gte": {
527
+ "json_valid": {
528
+ "correct": 28,
529
+ "total": 28,
530
+ "rate": 1.0
531
+ },
532
+ "schema_valid": {
533
+ "correct": 28,
534
+ "total": 28,
535
+ "rate": 1.0
536
+ },
537
+ "action_correct": {
538
+ "correct": 28,
539
+ "total": 28,
540
+ "rate": 1.0
541
+ },
542
+ "tool_correct": {
543
+ "correct": 28,
544
+ "total": 28,
545
+ "rate": 1.0
546
+ },
547
+ "arguments_exact": {
548
+ "correct": 26,
549
+ "total": 28,
550
+ "rate": 0.9285714285714286
551
+ },
552
+ "sql_equivalent": {
553
+ "correct": 28,
554
+ "total": 28,
555
+ "rate": 1.0
556
+ },
557
+ "success": {
558
+ "correct": 26,
559
+ "total": 28,
560
+ "rate": 0.9285714285714286
561
+ }
562
+ },
563
+ "operation:min": {
564
+ "json_valid": {
565
+ "correct": 28,
566
+ "total": 28,
567
+ "rate": 1.0
568
+ },
569
+ "schema_valid": {
570
+ "correct": 28,
571
+ "total": 28,
572
+ "rate": 1.0
573
+ },
574
+ "action_correct": {
575
+ "correct": 28,
576
+ "total": 28,
577
+ "rate": 1.0
578
+ },
579
+ "tool_correct": {
580
+ "correct": 28,
581
+ "total": 28,
582
+ "rate": 1.0
583
+ },
584
+ "arguments_exact": {
585
+ "correct": 24,
586
+ "total": 28,
587
+ "rate": 0.8571428571428571
588
+ },
589
+ "sql_equivalent": {
590
+ "correct": 24,
591
+ "total": 28,
592
+ "rate": 0.8571428571428571
593
+ },
594
+ "success": {
595
+ "correct": 24,
596
+ "total": 28,
597
+ "rate": 0.8571428571428571
598
+ }
599
+ },
600
+ "operation:null": {
601
+ "json_valid": {
602
+ "correct": 28,
603
+ "total": 28,
604
+ "rate": 1.0
605
+ },
606
+ "schema_valid": {
607
+ "correct": 28,
608
+ "total": 28,
609
+ "rate": 1.0
610
+ },
611
+ "action_correct": {
612
+ "correct": 28,
613
+ "total": 28,
614
+ "rate": 1.0
615
+ },
616
+ "tool_correct": {
617
+ "correct": 28,
618
+ "total": 28,
619
+ "rate": 1.0
620
+ },
621
+ "arguments_exact": {
622
+ "correct": 26,
623
+ "total": 28,
624
+ "rate": 0.9285714285714286
625
+ },
626
+ "sql_equivalent": {
627
+ "correct": 28,
628
+ "total": 28,
629
+ "rate": 1.0
630
+ },
631
+ "success": {
632
+ "correct": 26,
633
+ "total": 28,
634
+ "rate": 0.9285714285714286
635
+ }
636
+ },
637
+ "operation:write": {
638
+ "json_valid": {
639
+ "correct": 24,
640
+ "total": 24,
641
+ "rate": 1.0
642
+ },
643
+ "schema_valid": {
644
+ "correct": 24,
645
+ "total": 24,
646
+ "rate": 1.0
647
+ },
648
+ "action_correct": {
649
+ "correct": 20,
650
+ "total": 24,
651
+ "rate": 0.8333333333333334
652
+ },
653
+ "tool_correct": {
654
+ "correct": 0,
655
+ "total": 0,
656
+ "rate": 0.0
657
+ },
658
+ "arguments_exact": {
659
+ "correct": 0,
660
+ "total": 0,
661
+ "rate": 0.0
662
+ },
663
+ "sql_equivalent": {
664
+ "correct": 0,
665
+ "total": 0,
666
+ "rate": 0.0
667
+ },
668
+ "success": {
669
+ "correct": 20,
670
+ "total": 24,
671
+ "rate": 0.8333333333333334
672
+ }
673
+ },
674
+ "operation:or": {
675
+ "json_valid": {
676
+ "correct": 28,
677
+ "total": 28,
678
+ "rate": 1.0
679
+ },
680
+ "schema_valid": {
681
+ "correct": 28,
682
+ "total": 28,
683
+ "rate": 1.0
684
+ },
685
+ "action_correct": {
686
+ "correct": 28,
687
+ "total": 28,
688
+ "rate": 1.0
689
+ },
690
+ "tool_correct": {
691
+ "correct": 28,
692
+ "total": 28,
693
+ "rate": 1.0
694
+ },
695
+ "arguments_exact": {
696
+ "correct": 28,
697
+ "total": 28,
698
+ "rate": 1.0
699
+ },
700
+ "sql_equivalent": {
701
+ "correct": 28,
702
+ "total": 28,
703
+ "rate": 1.0
704
+ },
705
+ "success": {
706
+ "correct": 28,
707
+ "total": 28,
708
+ "rate": 1.0
709
+ }
710
+ },
711
+ "operation:count_eq": {
712
+ "json_valid": {
713
+ "correct": 28,
714
+ "total": 28,
715
+ "rate": 1.0
716
+ },
717
+ "schema_valid": {
718
+ "correct": 28,
719
+ "total": 28,
720
+ "rate": 1.0
721
+ },
722
+ "action_correct": {
723
+ "correct": 28,
724
+ "total": 28,
725
+ "rate": 1.0
726
+ },
727
+ "tool_correct": {
728
+ "correct": 28,
729
+ "total": 28,
730
+ "rate": 1.0
731
+ },
732
+ "arguments_exact": {
733
+ "correct": 25,
734
+ "total": 28,
735
+ "rate": 0.8928571428571429
736
+ },
737
+ "sql_equivalent": {
738
+ "correct": 28,
739
+ "total": 28,
740
+ "rate": 1.0
741
+ },
742
+ "success": {
743
+ "correct": 25,
744
+ "total": 28,
745
+ "rate": 0.8928571428571429
746
+ }
747
+ },
748
+ "operation:contains": {
749
+ "json_valid": {
750
+ "correct": 24,
751
+ "total": 24,
752
+ "rate": 1.0
753
+ },
754
+ "schema_valid": {
755
+ "correct": 24,
756
+ "total": 24,
757
+ "rate": 1.0
758
+ },
759
+ "action_correct": {
760
+ "correct": 24,
761
+ "total": 24,
762
+ "rate": 1.0
763
+ },
764
+ "tool_correct": {
765
+ "correct": 24,
766
+ "total": 24,
767
+ "rate": 1.0
768
+ },
769
+ "arguments_exact": {
770
+ "correct": 24,
771
+ "total": 24,
772
+ "rate": 1.0
773
+ },
774
+ "sql_equivalent": {
775
+ "correct": 24,
776
+ "total": 24,
777
+ "rate": 1.0
778
+ },
779
+ "success": {
780
+ "correct": 24,
781
+ "total": 24,
782
+ "rate": 1.0
783
+ }
784
+ },
785
+ "operation:sum": {
786
+ "json_valid": {
787
+ "correct": 28,
788
+ "total": 28,
789
+ "rate": 1.0
790
+ },
791
+ "schema_valid": {
792
+ "correct": 28,
793
+ "total": 28,
794
+ "rate": 1.0
795
+ },
796
+ "action_correct": {
797
+ "correct": 28,
798
+ "total": 28,
799
+ "rate": 1.0
800
+ },
801
+ "tool_correct": {
802
+ "correct": 28,
803
+ "total": 28,
804
+ "rate": 1.0
805
+ },
806
+ "arguments_exact": {
807
+ "correct": 26,
808
+ "total": 28,
809
+ "rate": 0.9285714285714286
810
+ },
811
+ "sql_equivalent": {
812
+ "correct": 28,
813
+ "total": 28,
814
+ "rate": 1.0
815
+ },
816
+ "success": {
817
+ "correct": 26,
818
+ "total": 28,
819
+ "rate": 0.9285714285714286
820
+ }
821
+ },
822
+ "operation:sort_desc": {
823
+ "json_valid": {
824
+ "correct": 28,
825
+ "total": 28,
826
+ "rate": 1.0
827
+ },
828
+ "schema_valid": {
829
+ "correct": 28,
830
+ "total": 28,
831
+ "rate": 1.0
832
+ },
833
+ "action_correct": {
834
+ "correct": 28,
835
+ "total": 28,
836
+ "rate": 1.0
837
+ },
838
+ "tool_correct": {
839
+ "correct": 28,
840
+ "total": 28,
841
+ "rate": 1.0
842
+ },
843
+ "arguments_exact": {
844
+ "correct": 26,
845
+ "total": 28,
846
+ "rate": 0.9285714285714286
847
+ },
848
+ "sql_equivalent": {
849
+ "correct": 28,
850
+ "total": 28,
851
+ "rate": 1.0
852
+ },
853
+ "success": {
854
+ "correct": 26,
855
+ "total": 28,
856
+ "rate": 0.9285714285714286
857
+ }
858
+ },
859
+ "operation:eq": {
860
+ "json_valid": {
861
+ "correct": 28,
862
+ "total": 28,
863
+ "rate": 1.0
864
+ },
865
+ "schema_valid": {
866
+ "correct": 28,
867
+ "total": 28,
868
+ "rate": 1.0
869
+ },
870
+ "action_correct": {
871
+ "correct": 28,
872
+ "total": 28,
873
+ "rate": 1.0
874
+ },
875
+ "tool_correct": {
876
+ "correct": 28,
877
+ "total": 28,
878
+ "rate": 1.0
879
+ },
880
+ "arguments_exact": {
881
+ "correct": 28,
882
+ "total": 28,
883
+ "rate": 1.0
884
+ },
885
+ "sql_equivalent": {
886
+ "correct": 28,
887
+ "total": 28,
888
+ "rate": 1.0
889
+ },
890
+ "success": {
891
+ "correct": 28,
892
+ "total": 28,
893
+ "rate": 1.0
894
+ }
895
+ },
896
+ "operation:project_eq": {
897
+ "json_valid": {
898
+ "correct": 28,
899
+ "total": 28,
900
+ "rate": 1.0
901
+ },
902
+ "schema_valid": {
903
+ "correct": 28,
904
+ "total": 28,
905
+ "rate": 1.0
906
+ },
907
+ "action_correct": {
908
+ "correct": 28,
909
+ "total": 28,
910
+ "rate": 1.0
911
+ },
912
+ "tool_correct": {
913
+ "correct": 28,
914
+ "total": 28,
915
+ "rate": 1.0
916
+ },
917
+ "arguments_exact": {
918
+ "correct": 28,
919
+ "total": 28,
920
+ "rate": 1.0
921
+ },
922
+ "sql_equivalent": {
923
+ "correct": 28,
924
+ "total": 28,
925
+ "rate": 1.0
926
+ },
927
+ "success": {
928
+ "correct": 28,
929
+ "total": 28,
930
+ "rate": 1.0
931
+ }
932
+ },
933
+ "language:hi": {
934
+ "json_valid": {
935
+ "correct": 299,
936
+ "total": 299,
937
+ "rate": 1.0
938
+ },
939
+ "schema_valid": {
940
+ "correct": 298,
941
+ "total": 299,
942
+ "rate": 0.9966555183946488
943
+ },
944
+ "action_correct": {
945
+ "correct": 299,
946
+ "total": 299,
947
+ "rate": 1.0
948
+ },
949
+ "tool_correct": {
950
+ "correct": 267,
951
+ "total": 275,
952
+ "rate": 0.9709090909090909
953
+ },
954
+ "arguments_exact": {
955
+ "correct": 254,
956
+ "total": 275,
957
+ "rate": 0.9236363636363636
958
+ },
959
+ "sql_equivalent": {
960
+ "correct": 218,
961
+ "total": 228,
962
+ "rate": 0.956140350877193
963
+ },
964
+ "success": {
965
+ "correct": 278,
966
+ "total": 299,
967
+ "rate": 0.9297658862876255
968
+ }
969
+ },
970
+ "operation:year": {
971
+ "json_valid": {
972
+ "correct": 28,
973
+ "total": 28,
974
+ "rate": 1.0
975
+ },
976
+ "schema_valid": {
977
+ "correct": 28,
978
+ "total": 28,
979
+ "rate": 1.0
980
+ },
981
+ "action_correct": {
982
+ "correct": 28,
983
+ "total": 28,
984
+ "rate": 1.0
985
+ },
986
+ "tool_correct": {
987
+ "correct": 28,
988
+ "total": 28,
989
+ "rate": 1.0
990
+ },
991
+ "arguments_exact": {
992
+ "correct": 26,
993
+ "total": 28,
994
+ "rate": 0.9285714285714286
995
+ },
996
+ "sql_equivalent": {
997
+ "correct": 28,
998
+ "total": 28,
999
+ "rate": 1.0
1000
+ },
1001
+ "success": {
1002
+ "correct": 26,
1003
+ "total": 28,
1004
+ "rate": 0.9285714285714286
1005
+ }
1006
+ },
1007
+ "operation:bottom": {
1008
+ "json_valid": {
1009
+ "correct": 28,
1010
+ "total": 28,
1011
+ "rate": 1.0
1012
+ },
1013
+ "schema_valid": {
1014
+ "correct": 28,
1015
+ "total": 28,
1016
+ "rate": 1.0
1017
+ },
1018
+ "action_correct": {
1019
+ "correct": 28,
1020
+ "total": 28,
1021
+ "rate": 1.0
1022
+ },
1023
+ "tool_correct": {
1024
+ "correct": 28,
1025
+ "total": 28,
1026
+ "rate": 1.0
1027
+ },
1028
+ "arguments_exact": {
1029
+ "correct": 28,
1030
+ "total": 28,
1031
+ "rate": 1.0
1032
+ },
1033
+ "sql_equivalent": {
1034
+ "correct": 28,
1035
+ "total": 28,
1036
+ "rate": 1.0
1037
+ },
1038
+ "success": {
1039
+ "correct": 28,
1040
+ "total": 28,
1041
+ "rate": 1.0
1042
+ }
1043
+ },
1044
+ "operation:distinct": {
1045
+ "json_valid": {
1046
+ "correct": 28,
1047
+ "total": 28,
1048
+ "rate": 1.0
1049
+ },
1050
+ "schema_valid": {
1051
+ "correct": 28,
1052
+ "total": 28,
1053
+ "rate": 1.0
1054
+ },
1055
+ "action_correct": {
1056
+ "correct": 28,
1057
+ "total": 28,
1058
+ "rate": 1.0
1059
+ },
1060
+ "tool_correct": {
1061
+ "correct": 28,
1062
+ "total": 28,
1063
+ "rate": 1.0
1064
+ },
1065
+ "arguments_exact": {
1066
+ "correct": 28,
1067
+ "total": 28,
1068
+ "rate": 1.0
1069
+ },
1070
+ "sql_equivalent": {
1071
+ "correct": 28,
1072
+ "total": 28,
1073
+ "rate": 1.0
1074
+ },
1075
+ "success": {
1076
+ "correct": 28,
1077
+ "total": 28,
1078
+ "rate": 1.0
1079
+ }
1080
+ },
1081
+ "operation:ambiguous": {
1082
+ "json_valid": {
1083
+ "correct": 24,
1084
+ "total": 24,
1085
+ "rate": 1.0
1086
+ },
1087
+ "schema_valid": {
1088
+ "correct": 24,
1089
+ "total": 24,
1090
+ "rate": 1.0
1091
+ },
1092
+ "action_correct": {
1093
+ "correct": 24,
1094
+ "total": 24,
1095
+ "rate": 1.0
1096
+ },
1097
+ "tool_correct": {
1098
+ "correct": 0,
1099
+ "total": 0,
1100
+ "rate": 0.0
1101
+ },
1102
+ "arguments_exact": {
1103
+ "correct": 0,
1104
+ "total": 0,
1105
+ "rate": 0.0
1106
+ },
1107
+ "sql_equivalent": {
1108
+ "correct": 0,
1109
+ "total": 0,
1110
+ "rate": 0.0
1111
+ },
1112
+ "success": {
1113
+ "correct": 24,
1114
+ "total": 24,
1115
+ "rate": 1.0
1116
+ }
1117
+ },
1118
+ "operation:max": {
1119
+ "json_valid": {
1120
+ "correct": 28,
1121
+ "total": 28,
1122
+ "rate": 1.0
1123
+ },
1124
+ "schema_valid": {
1125
+ "correct": 28,
1126
+ "total": 28,
1127
+ "rate": 1.0
1128
+ },
1129
+ "action_correct": {
1130
+ "correct": 28,
1131
+ "total": 28,
1132
+ "rate": 1.0
1133
+ },
1134
+ "tool_correct": {
1135
+ "correct": 28,
1136
+ "total": 28,
1137
+ "rate": 1.0
1138
+ },
1139
+ "arguments_exact": {
1140
+ "correct": 26,
1141
+ "total": 28,
1142
+ "rate": 0.9285714285714286
1143
+ },
1144
+ "sql_equivalent": {
1145
+ "correct": 28,
1146
+ "total": 28,
1147
+ "rate": 1.0
1148
+ },
1149
+ "success": {
1150
+ "correct": 26,
1151
+ "total": 28,
1152
+ "rate": 0.9285714285714286
1153
+ }
1154
+ },
1155
+ "operation:group_count": {
1156
+ "json_valid": {
1157
+ "correct": 28,
1158
+ "total": 28,
1159
+ "rate": 1.0
1160
+ },
1161
+ "schema_valid": {
1162
+ "correct": 28,
1163
+ "total": 28,
1164
+ "rate": 1.0
1165
+ },
1166
+ "action_correct": {
1167
+ "correct": 28,
1168
+ "total": 28,
1169
+ "rate": 1.0
1170
+ },
1171
+ "tool_correct": {
1172
+ "correct": 28,
1173
+ "total": 28,
1174
+ "rate": 1.0
1175
+ },
1176
+ "arguments_exact": {
1177
+ "correct": 28,
1178
+ "total": 28,
1179
+ "rate": 1.0
1180
+ },
1181
+ "sql_equivalent": {
1182
+ "correct": 28,
1183
+ "total": 28,
1184
+ "rate": 1.0
1185
+ },
1186
+ "success": {
1187
+ "correct": 28,
1188
+ "total": 28,
1189
+ "rate": 1.0
1190
+ }
1191
+ },
1192
+ "operation:sort_asc": {
1193
+ "json_valid": {
1194
+ "correct": 28,
1195
+ "total": 28,
1196
+ "rate": 1.0
1197
+ },
1198
+ "schema_valid": {
1199
+ "correct": 28,
1200
+ "total": 28,
1201
+ "rate": 1.0
1202
+ },
1203
+ "action_correct": {
1204
+ "correct": 28,
1205
+ "total": 28,
1206
+ "rate": 1.0
1207
+ },
1208
+ "tool_correct": {
1209
+ "correct": 28,
1210
+ "total": 28,
1211
+ "rate": 1.0
1212
+ },
1213
+ "arguments_exact": {
1214
+ "correct": 28,
1215
+ "total": 28,
1216
+ "rate": 1.0
1217
+ },
1218
+ "sql_equivalent": {
1219
+ "correct": 28,
1220
+ "total": 28,
1221
+ "rate": 1.0
1222
+ },
1223
+ "success": {
1224
+ "correct": 28,
1225
+ "total": 28,
1226
+ "rate": 1.0
1227
+ }
1228
+ },
1229
+ "operation:not_null": {
1230
+ "json_valid": {
1231
+ "correct": 28,
1232
+ "total": 28,
1233
+ "rate": 1.0
1234
+ },
1235
+ "schema_valid": {
1236
+ "correct": 28,
1237
+ "total": 28,
1238
+ "rate": 1.0
1239
+ },
1240
+ "action_correct": {
1241
+ "correct": 28,
1242
+ "total": 28,
1243
+ "rate": 1.0
1244
+ },
1245
+ "tool_correct": {
1246
+ "correct": 28,
1247
+ "total": 28,
1248
+ "rate": 1.0
1249
+ },
1250
+ "arguments_exact": {
1251
+ "correct": 26,
1252
+ "total": 28,
1253
+ "rate": 0.9285714285714286
1254
+ },
1255
+ "sql_equivalent": {
1256
+ "correct": 28,
1257
+ "total": 28,
1258
+ "rate": 1.0
1259
+ },
1260
+ "success": {
1261
+ "correct": 26,
1262
+ "total": 28,
1263
+ "rate": 0.9285714285714286
1264
+ }
1265
+ },
1266
+ "operation:lte": {
1267
+ "json_valid": {
1268
+ "correct": 28,
1269
+ "total": 28,
1270
+ "rate": 1.0
1271
+ },
1272
+ "schema_valid": {
1273
+ "correct": 28,
1274
+ "total": 28,
1275
+ "rate": 1.0
1276
+ },
1277
+ "action_correct": {
1278
+ "correct": 28,
1279
+ "total": 28,
1280
+ "rate": 1.0
1281
+ },
1282
+ "tool_correct": {
1283
+ "correct": 28,
1284
+ "total": 28,
1285
+ "rate": 1.0
1286
+ },
1287
+ "arguments_exact": {
1288
+ "correct": 28,
1289
+ "total": 28,
1290
+ "rate": 1.0
1291
+ },
1292
+ "sql_equivalent": {
1293
+ "correct": 28,
1294
+ "total": 28,
1295
+ "rate": 1.0
1296
+ },
1297
+ "success": {
1298
+ "correct": 28,
1299
+ "total": 28,
1300
+ "rate": 1.0
1301
+ }
1302
+ },
1303
+ "operation:lt": {
1304
+ "json_valid": {
1305
+ "correct": 28,
1306
+ "total": 28,
1307
+ "rate": 1.0
1308
+ },
1309
+ "schema_valid": {
1310
+ "correct": 28,
1311
+ "total": 28,
1312
+ "rate": 1.0
1313
+ },
1314
+ "action_correct": {
1315
+ "correct": 28,
1316
+ "total": 28,
1317
+ "rate": 1.0
1318
+ },
1319
+ "tool_correct": {
1320
+ "correct": 28,
1321
+ "total": 28,
1322
+ "rate": 1.0
1323
+ },
1324
+ "arguments_exact": {
1325
+ "correct": 26,
1326
+ "total": 28,
1327
+ "rate": 0.9285714285714286
1328
+ },
1329
+ "sql_equivalent": {
1330
+ "correct": 28,
1331
+ "total": 28,
1332
+ "rate": 1.0
1333
+ },
1334
+ "success": {
1335
+ "correct": 26,
1336
+ "total": 28,
1337
+ "rate": 0.9285714285714286
1338
+ }
1339
+ },
1340
+ "operation:group_sum": {
1341
+ "json_valid": {
1342
+ "correct": 28,
1343
+ "total": 28,
1344
+ "rate": 1.0
1345
+ },
1346
+ "schema_valid": {
1347
+ "correct": 28,
1348
+ "total": 28,
1349
+ "rate": 1.0
1350
+ },
1351
+ "action_correct": {
1352
+ "correct": 28,
1353
+ "total": 28,
1354
+ "rate": 1.0
1355
+ },
1356
+ "tool_correct": {
1357
+ "correct": 28,
1358
+ "total": 28,
1359
+ "rate": 1.0
1360
+ },
1361
+ "arguments_exact": {
1362
+ "correct": 28,
1363
+ "total": 28,
1364
+ "rate": 1.0
1365
+ },
1366
+ "sql_equivalent": {
1367
+ "correct": 28,
1368
+ "total": 28,
1369
+ "rate": 1.0
1370
+ },
1371
+ "success": {
1372
+ "correct": 28,
1373
+ "total": 28,
1374
+ "rate": 1.0
1375
+ }
1376
+ },
1377
+ "operation:between": {
1378
+ "json_valid": {
1379
+ "correct": 28,
1380
+ "total": 28,
1381
+ "rate": 1.0
1382
+ },
1383
+ "schema_valid": {
1384
+ "correct": 28,
1385
+ "total": 28,
1386
+ "rate": 1.0
1387
+ },
1388
+ "action_correct": {
1389
+ "correct": 28,
1390
+ "total": 28,
1391
+ "rate": 1.0
1392
+ },
1393
+ "tool_correct": {
1394
+ "correct": 21,
1395
+ "total": 28,
1396
+ "rate": 0.75
1397
+ },
1398
+ "arguments_exact": {
1399
+ "correct": 21,
1400
+ "total": 28,
1401
+ "rate": 0.75
1402
+ },
1403
+ "sql_equivalent": {
1404
+ "correct": 21,
1405
+ "total": 28,
1406
+ "rate": 0.75
1407
+ },
1408
+ "success": {
1409
+ "correct": 21,
1410
+ "total": 28,
1411
+ "rate": 0.75
1412
+ }
1413
+ },
1414
+ "operation:month": {
1415
+ "json_valid": {
1416
+ "correct": 28,
1417
+ "total": 28,
1418
+ "rate": 1.0
1419
+ },
1420
+ "schema_valid": {
1421
+ "correct": 28,
1422
+ "total": 28,
1423
+ "rate": 1.0
1424
+ },
1425
+ "action_correct": {
1426
+ "correct": 28,
1427
+ "total": 28,
1428
+ "rate": 1.0
1429
+ },
1430
+ "tool_correct": {
1431
+ "correct": 28,
1432
+ "total": 28,
1433
+ "rate": 1.0
1434
+ },
1435
+ "arguments_exact": {
1436
+ "correct": 24,
1437
+ "total": 28,
1438
+ "rate": 0.8571428571428571
1439
+ },
1440
+ "sql_equivalent": {
1441
+ "correct": 28,
1442
+ "total": 28,
1443
+ "rate": 1.0
1444
+ },
1445
+ "success": {
1446
+ "correct": 24,
1447
+ "total": 28,
1448
+ "rate": 0.8571428571428571
1449
+ }
1450
+ },
1451
+ "operation:and": {
1452
+ "json_valid": {
1453
+ "correct": 28,
1454
+ "total": 28,
1455
+ "rate": 1.0
1456
+ },
1457
+ "schema_valid": {
1458
+ "correct": 28,
1459
+ "total": 28,
1460
+ "rate": 1.0
1461
+ },
1462
+ "action_correct": {
1463
+ "correct": 28,
1464
+ "total": 28,
1465
+ "rate": 1.0
1466
+ },
1467
+ "tool_correct": {
1468
+ "correct": 28,
1469
+ "total": 28,
1470
+ "rate": 1.0
1471
+ },
1472
+ "arguments_exact": {
1473
+ "correct": 26,
1474
+ "total": 28,
1475
+ "rate": 0.9285714285714286
1476
+ },
1477
+ "sql_equivalent": {
1478
+ "correct": 28,
1479
+ "total": 28,
1480
+ "rate": 1.0
1481
+ },
1482
+ "success": {
1483
+ "correct": 26,
1484
+ "total": 28,
1485
+ "rate": 0.9285714285714286
1486
+ }
1487
+ },
1488
+ "operation:having": {
1489
+ "json_valid": {
1490
+ "correct": 28,
1491
+ "total": 28,
1492
+ "rate": 1.0
1493
+ },
1494
+ "schema_valid": {
1495
+ "correct": 28,
1496
+ "total": 28,
1497
+ "rate": 1.0
1498
+ },
1499
+ "action_correct": {
1500
+ "correct": 28,
1501
+ "total": 28,
1502
+ "rate": 1.0
1503
+ },
1504
+ "tool_correct": {
1505
+ "correct": 28,
1506
+ "total": 28,
1507
+ "rate": 1.0
1508
+ },
1509
+ "arguments_exact": {
1510
+ "correct": 20,
1511
+ "total": 28,
1512
+ "rate": 0.7142857142857143
1513
+ },
1514
+ "sql_equivalent": {
1515
+ "correct": 28,
1516
+ "total": 28,
1517
+ "rate": 1.0
1518
+ },
1519
+ "success": {
1520
+ "correct": 20,
1521
+ "total": 28,
1522
+ "rate": 0.7142857142857143
1523
+ }
1524
+ },
1525
+ "operation:missing_value": {
1526
+ "json_valid": {
1527
+ "correct": 24,
1528
+ "total": 24,
1529
+ "rate": 1.0
1530
+ },
1531
+ "schema_valid": {
1532
+ "correct": 24,
1533
+ "total": 24,
1534
+ "rate": 1.0
1535
+ },
1536
+ "action_correct": {
1537
+ "correct": 24,
1538
+ "total": 24,
1539
+ "rate": 1.0
1540
+ },
1541
+ "tool_correct": {
1542
+ "correct": 0,
1543
+ "total": 0,
1544
+ "rate": 0.0
1545
+ },
1546
+ "arguments_exact": {
1547
+ "correct": 0,
1548
+ "total": 0,
1549
+ "rate": 0.0
1550
+ },
1551
+ "sql_equivalent": {
1552
+ "correct": 0,
1553
+ "total": 0,
1554
+ "rate": 0.0
1555
+ },
1556
+ "success": {
1557
+ "correct": 24,
1558
+ "total": 24,
1559
+ "rate": 1.0
1560
+ }
1561
+ },
1562
+ "operation:final": {
1563
+ "json_valid": {
1564
+ "correct": 24,
1565
+ "total": 24,
1566
+ "rate": 1.0
1567
+ },
1568
+ "schema_valid": {
1569
+ "correct": 24,
1570
+ "total": 24,
1571
+ "rate": 1.0
1572
+ },
1573
+ "action_correct": {
1574
+ "correct": 24,
1575
+ "total": 24,
1576
+ "rate": 1.0
1577
+ },
1578
+ "tool_correct": {
1579
+ "correct": 0,
1580
+ "total": 0,
1581
+ "rate": 0.0
1582
+ },
1583
+ "arguments_exact": {
1584
+ "correct": 0,
1585
+ "total": 0,
1586
+ "rate": 0.0
1587
+ },
1588
+ "sql_equivalent": {
1589
+ "correct": 0,
1590
+ "total": 0,
1591
+ "rate": 0.0
1592
+ },
1593
+ "success": {
1594
+ "correct": 24,
1595
+ "total": 24,
1596
+ "rate": 1.0
1597
+ }
1598
+ },
1599
+ "operation:date_after": {
1600
+ "json_valid": {
1601
+ "correct": 28,
1602
+ "total": 28,
1603
+ "rate": 1.0
1604
+ },
1605
+ "schema_valid": {
1606
+ "correct": 28,
1607
+ "total": 28,
1608
+ "rate": 1.0
1609
+ },
1610
+ "action_correct": {
1611
+ "correct": 28,
1612
+ "total": 28,
1613
+ "rate": 1.0
1614
+ },
1615
+ "tool_correct": {
1616
+ "correct": 28,
1617
+ "total": 28,
1618
+ "rate": 1.0
1619
+ },
1620
+ "arguments_exact": {
1621
+ "correct": 28,
1622
+ "total": 28,
1623
+ "rate": 1.0
1624
+ },
1625
+ "sql_equivalent": {
1626
+ "correct": 28,
1627
+ "total": 28,
1628
+ "rate": 1.0
1629
+ },
1630
+ "success": {
1631
+ "correct": 28,
1632
+ "total": 28,
1633
+ "rate": 1.0
1634
+ }
1635
+ },
1636
+ "operation:gt": {
1637
+ "json_valid": {
1638
+ "correct": 28,
1639
+ "total": 28,
1640
+ "rate": 1.0
1641
+ },
1642
+ "schema_valid": {
1643
+ "correct": 28,
1644
+ "total": 28,
1645
+ "rate": 1.0
1646
+ },
1647
+ "action_correct": {
1648
+ "correct": 28,
1649
+ "total": 28,
1650
+ "rate": 1.0
1651
+ },
1652
+ "tool_correct": {
1653
+ "correct": 28,
1654
+ "total": 28,
1655
+ "rate": 1.0
1656
+ },
1657
+ "arguments_exact": {
1658
+ "correct": 26,
1659
+ "total": 28,
1660
+ "rate": 0.9285714285714286
1661
+ },
1662
+ "sql_equivalent": {
1663
+ "correct": 28,
1664
+ "total": 28,
1665
+ "rate": 1.0
1666
+ },
1667
+ "success": {
1668
+ "correct": 26,
1669
+ "total": 28,
1670
+ "rate": 0.9285714285714286
1671
+ }
1672
+ },
1673
+ "operation:top": {
1674
+ "json_valid": {
1675
+ "correct": 28,
1676
+ "total": 28,
1677
+ "rate": 1.0
1678
+ },
1679
+ "schema_valid": {
1680
+ "correct": 28,
1681
+ "total": 28,
1682
+ "rate": 1.0
1683
+ },
1684
+ "action_correct": {
1685
+ "correct": 28,
1686
+ "total": 28,
1687
+ "rate": 1.0
1688
+ },
1689
+ "tool_correct": {
1690
+ "correct": 28,
1691
+ "total": 28,
1692
+ "rate": 1.0
1693
+ },
1694
+ "arguments_exact": {
1695
+ "correct": 28,
1696
+ "total": 28,
1697
+ "rate": 1.0
1698
+ },
1699
+ "sql_equivalent": {
1700
+ "correct": 28,
1701
+ "total": 28,
1702
+ "rate": 1.0
1703
+ },
1704
+ "success": {
1705
+ "correct": 28,
1706
+ "total": 28,
1707
+ "rate": 1.0
1708
+ }
1709
+ },
1710
+ "operation:join_filter": {
1711
+ "json_valid": {
1712
+ "correct": 24,
1713
+ "total": 24,
1714
+ "rate": 1.0
1715
+ },
1716
+ "schema_valid": {
1717
+ "correct": 24,
1718
+ "total": 24,
1719
+ "rate": 1.0
1720
+ },
1721
+ "action_correct": {
1722
+ "correct": 24,
1723
+ "total": 24,
1724
+ "rate": 1.0
1725
+ },
1726
+ "tool_correct": {
1727
+ "correct": 24,
1728
+ "total": 24,
1729
+ "rate": 1.0
1730
+ },
1731
+ "arguments_exact": {
1732
+ "correct": 24,
1733
+ "total": 24,
1734
+ "rate": 1.0
1735
+ },
1736
+ "sql_equivalent": {
1737
+ "correct": 24,
1738
+ "total": 24,
1739
+ "rate": 1.0
1740
+ },
1741
+ "success": {
1742
+ "correct": 24,
1743
+ "total": 24,
1744
+ "rate": 1.0
1745
+ }
1746
+ },
1747
+ "operation:join": {
1748
+ "json_valid": {
1749
+ "correct": 24,
1750
+ "total": 24,
1751
+ "rate": 1.0
1752
+ },
1753
+ "schema_valid": {
1754
+ "correct": 24,
1755
+ "total": 24,
1756
+ "rate": 1.0
1757
+ },
1758
+ "action_correct": {
1759
+ "correct": 24,
1760
+ "total": 24,
1761
+ "rate": 1.0
1762
+ },
1763
+ "tool_correct": {
1764
+ "correct": 24,
1765
+ "total": 24,
1766
+ "rate": 1.0
1767
+ },
1768
+ "arguments_exact": {
1769
+ "correct": 24,
1770
+ "total": 24,
1771
+ "rate": 1.0
1772
+ },
1773
+ "sql_equivalent": {
1774
+ "correct": 24,
1775
+ "total": 24,
1776
+ "rate": 1.0
1777
+ },
1778
+ "success": {
1779
+ "correct": 24,
1780
+ "total": 24,
1781
+ "rate": 1.0
1782
+ }
1783
+ },
1784
+ "operation:weather": {
1785
+ "json_valid": {
1786
+ "correct": 24,
1787
+ "total": 24,
1788
+ "rate": 1.0
1789
+ },
1790
+ "schema_valid": {
1791
+ "correct": 24,
1792
+ "total": 24,
1793
+ "rate": 1.0
1794
+ },
1795
+ "action_correct": {
1796
+ "correct": 24,
1797
+ "total": 24,
1798
+ "rate": 1.0
1799
+ },
1800
+ "tool_correct": {
1801
+ "correct": 24,
1802
+ "total": 24,
1803
+ "rate": 1.0
1804
+ },
1805
+ "arguments_exact": {
1806
+ "correct": 24,
1807
+ "total": 24,
1808
+ "rate": 1.0
1809
+ },
1810
+ "sql_equivalent": {
1811
+ "correct": 0,
1812
+ "total": 0,
1813
+ "rate": 0.0
1814
+ },
1815
+ "success": {
1816
+ "correct": 24,
1817
+ "total": 24,
1818
+ "rate": 1.0
1819
+ }
1820
+ },
1821
+ "operation:search": {
1822
+ "json_valid": {
1823
+ "correct": 24,
1824
+ "total": 24,
1825
+ "rate": 1.0
1826
+ },
1827
+ "schema_valid": {
1828
+ "correct": 20,
1829
+ "total": 24,
1830
+ "rate": 0.8333333333333334
1831
+ },
1832
+ "action_correct": {
1833
+ "correct": 24,
1834
+ "total": 24,
1835
+ "rate": 1.0
1836
+ },
1837
+ "tool_correct": {
1838
+ "correct": 20,
1839
+ "total": 24,
1840
+ "rate": 0.8333333333333334
1841
+ },
1842
+ "arguments_exact": {
1843
+ "correct": 20,
1844
+ "total": 24,
1845
+ "rate": 0.8333333333333334
1846
+ },
1847
+ "sql_equivalent": {
1848
+ "correct": 0,
1849
+ "total": 0,
1850
+ "rate": 0.0
1851
+ },
1852
+ "success": {
1853
+ "correct": 20,
1854
+ "total": 24,
1855
+ "rate": 0.8333333333333334
1856
+ }
1857
+ },
1858
+ "operation:ticket": {
1859
+ "json_valid": {
1860
+ "correct": 24,
1861
+ "total": 24,
1862
+ "rate": 1.0
1863
+ },
1864
+ "schema_valid": {
1865
+ "correct": 24,
1866
+ "total": 24,
1867
+ "rate": 1.0
1868
+ },
1869
+ "action_correct": {
1870
+ "correct": 24,
1871
+ "total": 24,
1872
+ "rate": 1.0
1873
+ },
1874
+ "tool_correct": {
1875
+ "correct": 24,
1876
+ "total": 24,
1877
+ "rate": 1.0
1878
+ },
1879
+ "arguments_exact": {
1880
+ "correct": 24,
1881
+ "total": 24,
1882
+ "rate": 1.0
1883
+ },
1884
+ "sql_equivalent": {
1885
+ "correct": 0,
1886
+ "total": 0,
1887
+ "rate": 0.0
1888
+ },
1889
+ "success": {
1890
+ "correct": 24,
1891
+ "total": 24,
1892
+ "rate": 1.0
1893
+ }
1894
+ },
1895
+ "operation:read_file": {
1896
+ "json_valid": {
1897
+ "correct": 24,
1898
+ "total": 24,
1899
+ "rate": 1.0
1900
+ },
1901
+ "schema_valid": {
1902
+ "correct": 24,
1903
+ "total": 24,
1904
+ "rate": 1.0
1905
+ },
1906
+ "action_correct": {
1907
+ "correct": 24,
1908
+ "total": 24,
1909
+ "rate": 1.0
1910
+ },
1911
+ "tool_correct": {
1912
+ "correct": 24,
1913
+ "total": 24,
1914
+ "rate": 1.0
1915
+ },
1916
+ "arguments_exact": {
1917
+ "correct": 24,
1918
+ "total": 24,
1919
+ "rate": 1.0
1920
+ },
1921
+ "sql_equivalent": {
1922
+ "correct": 0,
1923
+ "total": 0,
1924
+ "rate": 0.0
1925
+ },
1926
+ "success": {
1927
+ "correct": 24,
1928
+ "total": 24,
1929
+ "rate": 1.0
1930
+ }
1931
+ }
1932
+ }
1933
+ }
evaluation/validation.summary.json ADDED
@@ -0,0 +1,1933 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "examples": 1200,
3
+ "seconds": 33.96494126319885,
4
+ "decoding": "raw greedy, no repair, no teacher fallback",
5
+ "checkpoint_sha256": "9489b5cde69c11f64b3e7031182e8248aa83790f1ad4aeefbf99a4e5e152e692",
6
+ "sql_metric": "Dialect parsing and equivalent results on two generated SQLite fixtures after dialect adaptation; not native MySQL/PostgreSQL execution.",
7
+ "metrics": {
8
+ "json_valid": {
9
+ "correct": 1200,
10
+ "total": 1200,
11
+ "rate": 1.0
12
+ },
13
+ "schema_valid": {
14
+ "correct": 1199,
15
+ "total": 1200,
16
+ "rate": 0.9991666666666666
17
+ },
18
+ "action_correct": {
19
+ "correct": 1193,
20
+ "total": 1200,
21
+ "rate": 0.9941666666666666
22
+ },
23
+ "tool_correct": {
24
+ "correct": 1103,
25
+ "total": 1104,
26
+ "rate": 0.9990942028985508
27
+ },
28
+ "arguments_exact": {
29
+ "correct": 1085,
30
+ "total": 1104,
31
+ "rate": 0.9827898550724637
32
+ },
33
+ "sql_equivalent": {
34
+ "correct": 899,
35
+ "total": 912,
36
+ "rate": 0.9857456140350878
37
+ },
38
+ "success": {
39
+ "correct": 1174,
40
+ "total": 1200,
41
+ "rate": 0.9783333333333334
42
+ }
43
+ },
44
+ "groups": {
45
+ "language:noisy_en": {
46
+ "json_valid": {
47
+ "correct": 300,
48
+ "total": 300,
49
+ "rate": 1.0
50
+ },
51
+ "schema_valid": {
52
+ "correct": 300,
53
+ "total": 300,
54
+ "rate": 1.0
55
+ },
56
+ "action_correct": {
57
+ "correct": 300,
58
+ "total": 300,
59
+ "rate": 1.0
60
+ },
61
+ "tool_correct": {
62
+ "correct": 276,
63
+ "total": 276,
64
+ "rate": 1.0
65
+ },
66
+ "arguments_exact": {
67
+ "correct": 275,
68
+ "total": 276,
69
+ "rate": 0.9963768115942029
70
+ },
71
+ "sql_equivalent": {
72
+ "correct": 227,
73
+ "total": 228,
74
+ "rate": 0.9956140350877193
75
+ },
76
+ "success": {
77
+ "correct": 299,
78
+ "total": 300,
79
+ "rate": 0.9966666666666667
80
+ }
81
+ },
82
+ "backend:supabase": {
83
+ "json_valid": {
84
+ "correct": 604,
85
+ "total": 604,
86
+ "rate": 1.0
87
+ },
88
+ "schema_valid": {
89
+ "correct": 603,
90
+ "total": 604,
91
+ "rate": 0.9983443708609272
92
+ },
93
+ "action_correct": {
94
+ "correct": 601,
95
+ "total": 604,
96
+ "rate": 0.9950331125827815
97
+ },
98
+ "tool_correct": {
99
+ "correct": 559,
100
+ "total": 560,
101
+ "rate": 0.9982142857142857
102
+ },
103
+ "arguments_exact": {
104
+ "correct": 551,
105
+ "total": 560,
106
+ "rate": 0.9839285714285714
107
+ },
108
+ "sql_equivalent": {
109
+ "correct": 461,
110
+ "total": 468,
111
+ "rate": 0.9850427350427351
112
+ },
113
+ "success": {
114
+ "correct": 592,
115
+ "total": 604,
116
+ "rate": 0.9801324503311258
117
+ }
118
+ },
119
+ "operation:missing_schema": {
120
+ "json_valid": {
121
+ "correct": 24,
122
+ "total": 24,
123
+ "rate": 1.0
124
+ },
125
+ "schema_valid": {
126
+ "correct": 24,
127
+ "total": 24,
128
+ "rate": 1.0
129
+ },
130
+ "action_correct": {
131
+ "correct": 24,
132
+ "total": 24,
133
+ "rate": 1.0
134
+ },
135
+ "tool_correct": {
136
+ "correct": 24,
137
+ "total": 24,
138
+ "rate": 1.0
139
+ },
140
+ "arguments_exact": {
141
+ "correct": 24,
142
+ "total": 24,
143
+ "rate": 1.0
144
+ },
145
+ "sql_equivalent": {
146
+ "correct": 0,
147
+ "total": 0,
148
+ "rate": 0.0
149
+ },
150
+ "success": {
151
+ "correct": 24,
152
+ "total": 24,
153
+ "rate": 1.0
154
+ }
155
+ },
156
+ "language:en": {
157
+ "json_valid": {
158
+ "correct": 300,
159
+ "total": 300,
160
+ "rate": 1.0
161
+ },
162
+ "schema_valid": {
163
+ "correct": 300,
164
+ "total": 300,
165
+ "rate": 1.0
166
+ },
167
+ "action_correct": {
168
+ "correct": 294,
169
+ "total": 300,
170
+ "rate": 0.98
171
+ },
172
+ "tool_correct": {
173
+ "correct": 276,
174
+ "total": 276,
175
+ "rate": 1.0
176
+ },
177
+ "arguments_exact": {
178
+ "correct": 268,
179
+ "total": 276,
180
+ "rate": 0.9710144927536232
181
+ },
182
+ "sql_equivalent": {
183
+ "correct": 222,
184
+ "total": 228,
185
+ "rate": 0.9736842105263158
186
+ },
187
+ "success": {
188
+ "correct": 286,
189
+ "total": 300,
190
+ "rate": 0.9533333333333334
191
+ }
192
+ },
193
+ "language:hinglish": {
194
+ "json_valid": {
195
+ "correct": 300,
196
+ "total": 300,
197
+ "rate": 1.0
198
+ },
199
+ "schema_valid": {
200
+ "correct": 299,
201
+ "total": 300,
202
+ "rate": 0.9966666666666667
203
+ },
204
+ "action_correct": {
205
+ "correct": 300,
206
+ "total": 300,
207
+ "rate": 1.0
208
+ },
209
+ "tool_correct": {
210
+ "correct": 275,
211
+ "total": 276,
212
+ "rate": 0.9963768115942029
213
+ },
214
+ "arguments_exact": {
215
+ "correct": 268,
216
+ "total": 276,
217
+ "rate": 0.9710144927536232
218
+ },
219
+ "sql_equivalent": {
220
+ "correct": 223,
221
+ "total": 228,
222
+ "rate": 0.9780701754385965
223
+ },
224
+ "success": {
225
+ "correct": 292,
226
+ "total": 300,
227
+ "rate": 0.9733333333333334
228
+ }
229
+ },
230
+ "backend:mysql": {
231
+ "json_valid": {
232
+ "correct": 596,
233
+ "total": 596,
234
+ "rate": 1.0
235
+ },
236
+ "schema_valid": {
237
+ "correct": 596,
238
+ "total": 596,
239
+ "rate": 1.0
240
+ },
241
+ "action_correct": {
242
+ "correct": 592,
243
+ "total": 596,
244
+ "rate": 0.9932885906040269
245
+ },
246
+ "tool_correct": {
247
+ "correct": 544,
248
+ "total": 544,
249
+ "rate": 1.0
250
+ },
251
+ "arguments_exact": {
252
+ "correct": 534,
253
+ "total": 544,
254
+ "rate": 0.9816176470588235
255
+ },
256
+ "sql_equivalent": {
257
+ "correct": 438,
258
+ "total": 444,
259
+ "rate": 0.9864864864864865
260
+ },
261
+ "success": {
262
+ "correct": 582,
263
+ "total": 596,
264
+ "rate": 0.9765100671140939
265
+ }
266
+ },
267
+ "operation:all": {
268
+ "json_valid": {
269
+ "correct": 28,
270
+ "total": 28,
271
+ "rate": 1.0
272
+ },
273
+ "schema_valid": {
274
+ "correct": 28,
275
+ "total": 28,
276
+ "rate": 1.0
277
+ },
278
+ "action_correct": {
279
+ "correct": 28,
280
+ "total": 28,
281
+ "rate": 1.0
282
+ },
283
+ "tool_correct": {
284
+ "correct": 28,
285
+ "total": 28,
286
+ "rate": 1.0
287
+ },
288
+ "arguments_exact": {
289
+ "correct": 28,
290
+ "total": 28,
291
+ "rate": 1.0
292
+ },
293
+ "sql_equivalent": {
294
+ "correct": 28,
295
+ "total": 28,
296
+ "rate": 1.0
297
+ },
298
+ "success": {
299
+ "correct": 28,
300
+ "total": 28,
301
+ "rate": 1.0
302
+ }
303
+ },
304
+ "operation:write": {
305
+ "json_valid": {
306
+ "correct": 24,
307
+ "total": 24,
308
+ "rate": 1.0
309
+ },
310
+ "schema_valid": {
311
+ "correct": 24,
312
+ "total": 24,
313
+ "rate": 1.0
314
+ },
315
+ "action_correct": {
316
+ "correct": 18,
317
+ "total": 24,
318
+ "rate": 0.75
319
+ },
320
+ "tool_correct": {
321
+ "correct": 0,
322
+ "total": 0,
323
+ "rate": 0.0
324
+ },
325
+ "arguments_exact": {
326
+ "correct": 0,
327
+ "total": 0,
328
+ "rate": 0.0
329
+ },
330
+ "sql_equivalent": {
331
+ "correct": 0,
332
+ "total": 0,
333
+ "rate": 0.0
334
+ },
335
+ "success": {
336
+ "correct": 18,
337
+ "total": 24,
338
+ "rate": 0.75
339
+ }
340
+ },
341
+ "operation:distinct": {
342
+ "json_valid": {
343
+ "correct": 28,
344
+ "total": 28,
345
+ "rate": 1.0
346
+ },
347
+ "schema_valid": {
348
+ "correct": 28,
349
+ "total": 28,
350
+ "rate": 1.0
351
+ },
352
+ "action_correct": {
353
+ "correct": 28,
354
+ "total": 28,
355
+ "rate": 1.0
356
+ },
357
+ "tool_correct": {
358
+ "correct": 28,
359
+ "total": 28,
360
+ "rate": 1.0
361
+ },
362
+ "arguments_exact": {
363
+ "correct": 28,
364
+ "total": 28,
365
+ "rate": 1.0
366
+ },
367
+ "sql_equivalent": {
368
+ "correct": 28,
369
+ "total": 28,
370
+ "rate": 1.0
371
+ },
372
+ "success": {
373
+ "correct": 28,
374
+ "total": 28,
375
+ "rate": 1.0
376
+ }
377
+ },
378
+ "operation:max": {
379
+ "json_valid": {
380
+ "correct": 28,
381
+ "total": 28,
382
+ "rate": 1.0
383
+ },
384
+ "schema_valid": {
385
+ "correct": 28,
386
+ "total": 28,
387
+ "rate": 1.0
388
+ },
389
+ "action_correct": {
390
+ "correct": 28,
391
+ "total": 28,
392
+ "rate": 1.0
393
+ },
394
+ "tool_correct": {
395
+ "correct": 28,
396
+ "total": 28,
397
+ "rate": 1.0
398
+ },
399
+ "arguments_exact": {
400
+ "correct": 28,
401
+ "total": 28,
402
+ "rate": 1.0
403
+ },
404
+ "sql_equivalent": {
405
+ "correct": 28,
406
+ "total": 28,
407
+ "rate": 1.0
408
+ },
409
+ "success": {
410
+ "correct": 28,
411
+ "total": 28,
412
+ "rate": 1.0
413
+ }
414
+ },
415
+ "operation:min": {
416
+ "json_valid": {
417
+ "correct": 28,
418
+ "total": 28,
419
+ "rate": 1.0
420
+ },
421
+ "schema_valid": {
422
+ "correct": 28,
423
+ "total": 28,
424
+ "rate": 1.0
425
+ },
426
+ "action_correct": {
427
+ "correct": 28,
428
+ "total": 28,
429
+ "rate": 1.0
430
+ },
431
+ "tool_correct": {
432
+ "correct": 28,
433
+ "total": 28,
434
+ "rate": 1.0
435
+ },
436
+ "arguments_exact": {
437
+ "correct": 28,
438
+ "total": 28,
439
+ "rate": 1.0
440
+ },
441
+ "sql_equivalent": {
442
+ "correct": 28,
443
+ "total": 28,
444
+ "rate": 1.0
445
+ },
446
+ "success": {
447
+ "correct": 28,
448
+ "total": 28,
449
+ "rate": 1.0
450
+ }
451
+ },
452
+ "operation:avg": {
453
+ "json_valid": {
454
+ "correct": 28,
455
+ "total": 28,
456
+ "rate": 1.0
457
+ },
458
+ "schema_valid": {
459
+ "correct": 28,
460
+ "total": 28,
461
+ "rate": 1.0
462
+ },
463
+ "action_correct": {
464
+ "correct": 28,
465
+ "total": 28,
466
+ "rate": 1.0
467
+ },
468
+ "tool_correct": {
469
+ "correct": 28,
470
+ "total": 28,
471
+ "rate": 1.0
472
+ },
473
+ "arguments_exact": {
474
+ "correct": 28,
475
+ "total": 28,
476
+ "rate": 1.0
477
+ },
478
+ "sql_equivalent": {
479
+ "correct": 28,
480
+ "total": 28,
481
+ "rate": 1.0
482
+ },
483
+ "success": {
484
+ "correct": 28,
485
+ "total": 28,
486
+ "rate": 1.0
487
+ }
488
+ },
489
+ "operation:group_count": {
490
+ "json_valid": {
491
+ "correct": 28,
492
+ "total": 28,
493
+ "rate": 1.0
494
+ },
495
+ "schema_valid": {
496
+ "correct": 28,
497
+ "total": 28,
498
+ "rate": 1.0
499
+ },
500
+ "action_correct": {
501
+ "correct": 28,
502
+ "total": 28,
503
+ "rate": 1.0
504
+ },
505
+ "tool_correct": {
506
+ "correct": 28,
507
+ "total": 28,
508
+ "rate": 1.0
509
+ },
510
+ "arguments_exact": {
511
+ "correct": 25,
512
+ "total": 28,
513
+ "rate": 0.8928571428571429
514
+ },
515
+ "sql_equivalent": {
516
+ "correct": 25,
517
+ "total": 28,
518
+ "rate": 0.8928571428571429
519
+ },
520
+ "success": {
521
+ "correct": 25,
522
+ "total": 28,
523
+ "rate": 0.8928571428571429
524
+ }
525
+ },
526
+ "language:hi": {
527
+ "json_valid": {
528
+ "correct": 300,
529
+ "total": 300,
530
+ "rate": 1.0
531
+ },
532
+ "schema_valid": {
533
+ "correct": 300,
534
+ "total": 300,
535
+ "rate": 1.0
536
+ },
537
+ "action_correct": {
538
+ "correct": 299,
539
+ "total": 300,
540
+ "rate": 0.9966666666666667
541
+ },
542
+ "tool_correct": {
543
+ "correct": 276,
544
+ "total": 276,
545
+ "rate": 1.0
546
+ },
547
+ "arguments_exact": {
548
+ "correct": 274,
549
+ "total": 276,
550
+ "rate": 0.9927536231884058
551
+ },
552
+ "sql_equivalent": {
553
+ "correct": 227,
554
+ "total": 228,
555
+ "rate": 0.9956140350877193
556
+ },
557
+ "success": {
558
+ "correct": 297,
559
+ "total": 300,
560
+ "rate": 0.99
561
+ }
562
+ },
563
+ "operation:sum": {
564
+ "json_valid": {
565
+ "correct": 28,
566
+ "total": 28,
567
+ "rate": 1.0
568
+ },
569
+ "schema_valid": {
570
+ "correct": 28,
571
+ "total": 28,
572
+ "rate": 1.0
573
+ },
574
+ "action_correct": {
575
+ "correct": 28,
576
+ "total": 28,
577
+ "rate": 1.0
578
+ },
579
+ "tool_correct": {
580
+ "correct": 28,
581
+ "total": 28,
582
+ "rate": 1.0
583
+ },
584
+ "arguments_exact": {
585
+ "correct": 27,
586
+ "total": 28,
587
+ "rate": 0.9642857142857143
588
+ },
589
+ "sql_equivalent": {
590
+ "correct": 28,
591
+ "total": 28,
592
+ "rate": 1.0
593
+ },
594
+ "success": {
595
+ "correct": 27,
596
+ "total": 28,
597
+ "rate": 0.9642857142857143
598
+ }
599
+ },
600
+ "operation:count_eq": {
601
+ "json_valid": {
602
+ "correct": 28,
603
+ "total": 28,
604
+ "rate": 1.0
605
+ },
606
+ "schema_valid": {
607
+ "correct": 28,
608
+ "total": 28,
609
+ "rate": 1.0
610
+ },
611
+ "action_correct": {
612
+ "correct": 28,
613
+ "total": 28,
614
+ "rate": 1.0
615
+ },
616
+ "tool_correct": {
617
+ "correct": 28,
618
+ "total": 28,
619
+ "rate": 1.0
620
+ },
621
+ "arguments_exact": {
622
+ "correct": 28,
623
+ "total": 28,
624
+ "rate": 1.0
625
+ },
626
+ "sql_equivalent": {
627
+ "correct": 28,
628
+ "total": 28,
629
+ "rate": 1.0
630
+ },
631
+ "success": {
632
+ "correct": 28,
633
+ "total": 28,
634
+ "rate": 1.0
635
+ }
636
+ },
637
+ "operation:count": {
638
+ "json_valid": {
639
+ "correct": 28,
640
+ "total": 28,
641
+ "rate": 1.0
642
+ },
643
+ "schema_valid": {
644
+ "correct": 28,
645
+ "total": 28,
646
+ "rate": 1.0
647
+ },
648
+ "action_correct": {
649
+ "correct": 28,
650
+ "total": 28,
651
+ "rate": 1.0
652
+ },
653
+ "tool_correct": {
654
+ "correct": 28,
655
+ "total": 28,
656
+ "rate": 1.0
657
+ },
658
+ "arguments_exact": {
659
+ "correct": 22,
660
+ "total": 28,
661
+ "rate": 0.7857142857142857
662
+ },
663
+ "sql_equivalent": {
664
+ "correct": 22,
665
+ "total": 28,
666
+ "rate": 0.7857142857142857
667
+ },
668
+ "success": {
669
+ "correct": 22,
670
+ "total": 28,
671
+ "rate": 0.7857142857142857
672
+ }
673
+ },
674
+ "operation:sql_error": {
675
+ "json_valid": {
676
+ "correct": 24,
677
+ "total": 24,
678
+ "rate": 1.0
679
+ },
680
+ "schema_valid": {
681
+ "correct": 24,
682
+ "total": 24,
683
+ "rate": 1.0
684
+ },
685
+ "action_correct": {
686
+ "correct": 24,
687
+ "total": 24,
688
+ "rate": 1.0
689
+ },
690
+ "tool_correct": {
691
+ "correct": 24,
692
+ "total": 24,
693
+ "rate": 1.0
694
+ },
695
+ "arguments_exact": {
696
+ "correct": 20,
697
+ "total": 24,
698
+ "rate": 0.8333333333333334
699
+ },
700
+ "sql_equivalent": {
701
+ "correct": 0,
702
+ "total": 0,
703
+ "rate": 0.0
704
+ },
705
+ "success": {
706
+ "correct": 20,
707
+ "total": 24,
708
+ "rate": 0.8333333333333334
709
+ }
710
+ },
711
+ "operation:project": {
712
+ "json_valid": {
713
+ "correct": 28,
714
+ "total": 28,
715
+ "rate": 1.0
716
+ },
717
+ "schema_valid": {
718
+ "correct": 28,
719
+ "total": 28,
720
+ "rate": 1.0
721
+ },
722
+ "action_correct": {
723
+ "correct": 28,
724
+ "total": 28,
725
+ "rate": 1.0
726
+ },
727
+ "tool_correct": {
728
+ "correct": 28,
729
+ "total": 28,
730
+ "rate": 1.0
731
+ },
732
+ "arguments_exact": {
733
+ "correct": 24,
734
+ "total": 28,
735
+ "rate": 0.8571428571428571
736
+ },
737
+ "sql_equivalent": {
738
+ "correct": 24,
739
+ "total": 28,
740
+ "rate": 0.8571428571428571
741
+ },
742
+ "success": {
743
+ "correct": 24,
744
+ "total": 28,
745
+ "rate": 0.8571428571428571
746
+ }
747
+ },
748
+ "operation:lt": {
749
+ "json_valid": {
750
+ "correct": 28,
751
+ "total": 28,
752
+ "rate": 1.0
753
+ },
754
+ "schema_valid": {
755
+ "correct": 28,
756
+ "total": 28,
757
+ "rate": 1.0
758
+ },
759
+ "action_correct": {
760
+ "correct": 28,
761
+ "total": 28,
762
+ "rate": 1.0
763
+ },
764
+ "tool_correct": {
765
+ "correct": 28,
766
+ "total": 28,
767
+ "rate": 1.0
768
+ },
769
+ "arguments_exact": {
770
+ "correct": 28,
771
+ "total": 28,
772
+ "rate": 1.0
773
+ },
774
+ "sql_equivalent": {
775
+ "correct": 28,
776
+ "total": 28,
777
+ "rate": 1.0
778
+ },
779
+ "success": {
780
+ "correct": 28,
781
+ "total": 28,
782
+ "rate": 1.0
783
+ }
784
+ },
785
+ "operation:top": {
786
+ "json_valid": {
787
+ "correct": 28,
788
+ "total": 28,
789
+ "rate": 1.0
790
+ },
791
+ "schema_valid": {
792
+ "correct": 28,
793
+ "total": 28,
794
+ "rate": 1.0
795
+ },
796
+ "action_correct": {
797
+ "correct": 28,
798
+ "total": 28,
799
+ "rate": 1.0
800
+ },
801
+ "tool_correct": {
802
+ "correct": 28,
803
+ "total": 28,
804
+ "rate": 1.0
805
+ },
806
+ "arguments_exact": {
807
+ "correct": 28,
808
+ "total": 28,
809
+ "rate": 1.0
810
+ },
811
+ "sql_equivalent": {
812
+ "correct": 28,
813
+ "total": 28,
814
+ "rate": 1.0
815
+ },
816
+ "success": {
817
+ "correct": 28,
818
+ "total": 28,
819
+ "rate": 1.0
820
+ }
821
+ },
822
+ "operation:group_sum": {
823
+ "json_valid": {
824
+ "correct": 28,
825
+ "total": 28,
826
+ "rate": 1.0
827
+ },
828
+ "schema_valid": {
829
+ "correct": 28,
830
+ "total": 28,
831
+ "rate": 1.0
832
+ },
833
+ "action_correct": {
834
+ "correct": 28,
835
+ "total": 28,
836
+ "rate": 1.0
837
+ },
838
+ "tool_correct": {
839
+ "correct": 28,
840
+ "total": 28,
841
+ "rate": 1.0
842
+ },
843
+ "arguments_exact": {
844
+ "correct": 28,
845
+ "total": 28,
846
+ "rate": 1.0
847
+ },
848
+ "sql_equivalent": {
849
+ "correct": 28,
850
+ "total": 28,
851
+ "rate": 1.0
852
+ },
853
+ "success": {
854
+ "correct": 28,
855
+ "total": 28,
856
+ "rate": 1.0
857
+ }
858
+ },
859
+ "operation:sort_desc": {
860
+ "json_valid": {
861
+ "correct": 28,
862
+ "total": 28,
863
+ "rate": 1.0
864
+ },
865
+ "schema_valid": {
866
+ "correct": 28,
867
+ "total": 28,
868
+ "rate": 1.0
869
+ },
870
+ "action_correct": {
871
+ "correct": 28,
872
+ "total": 28,
873
+ "rate": 1.0
874
+ },
875
+ "tool_correct": {
876
+ "correct": 28,
877
+ "total": 28,
878
+ "rate": 1.0
879
+ },
880
+ "arguments_exact": {
881
+ "correct": 28,
882
+ "total": 28,
883
+ "rate": 1.0
884
+ },
885
+ "sql_equivalent": {
886
+ "correct": 28,
887
+ "total": 28,
888
+ "rate": 1.0
889
+ },
890
+ "success": {
891
+ "correct": 28,
892
+ "total": 28,
893
+ "rate": 1.0
894
+ }
895
+ },
896
+ "operation:ambiguous": {
897
+ "json_valid": {
898
+ "correct": 24,
899
+ "total": 24,
900
+ "rate": 1.0
901
+ },
902
+ "schema_valid": {
903
+ "correct": 24,
904
+ "total": 24,
905
+ "rate": 1.0
906
+ },
907
+ "action_correct": {
908
+ "correct": 24,
909
+ "total": 24,
910
+ "rate": 1.0
911
+ },
912
+ "tool_correct": {
913
+ "correct": 0,
914
+ "total": 0,
915
+ "rate": 0.0
916
+ },
917
+ "arguments_exact": {
918
+ "correct": 0,
919
+ "total": 0,
920
+ "rate": 0.0
921
+ },
922
+ "sql_equivalent": {
923
+ "correct": 0,
924
+ "total": 0,
925
+ "rate": 0.0
926
+ },
927
+ "success": {
928
+ "correct": 24,
929
+ "total": 24,
930
+ "rate": 1.0
931
+ }
932
+ },
933
+ "operation:gte": {
934
+ "json_valid": {
935
+ "correct": 28,
936
+ "total": 28,
937
+ "rate": 1.0
938
+ },
939
+ "schema_valid": {
940
+ "correct": 28,
941
+ "total": 28,
942
+ "rate": 1.0
943
+ },
944
+ "action_correct": {
945
+ "correct": 28,
946
+ "total": 28,
947
+ "rate": 1.0
948
+ },
949
+ "tool_correct": {
950
+ "correct": 28,
951
+ "total": 28,
952
+ "rate": 1.0
953
+ },
954
+ "arguments_exact": {
955
+ "correct": 28,
956
+ "total": 28,
957
+ "rate": 1.0
958
+ },
959
+ "sql_equivalent": {
960
+ "correct": 28,
961
+ "total": 28,
962
+ "rate": 1.0
963
+ },
964
+ "success": {
965
+ "correct": 28,
966
+ "total": 28,
967
+ "rate": 1.0
968
+ }
969
+ },
970
+ "operation:eq": {
971
+ "json_valid": {
972
+ "correct": 28,
973
+ "total": 28,
974
+ "rate": 1.0
975
+ },
976
+ "schema_valid": {
977
+ "correct": 28,
978
+ "total": 28,
979
+ "rate": 1.0
980
+ },
981
+ "action_correct": {
982
+ "correct": 28,
983
+ "total": 28,
984
+ "rate": 1.0
985
+ },
986
+ "tool_correct": {
987
+ "correct": 28,
988
+ "total": 28,
989
+ "rate": 1.0
990
+ },
991
+ "arguments_exact": {
992
+ "correct": 28,
993
+ "total": 28,
994
+ "rate": 1.0
995
+ },
996
+ "sql_equivalent": {
997
+ "correct": 28,
998
+ "total": 28,
999
+ "rate": 1.0
1000
+ },
1001
+ "success": {
1002
+ "correct": 28,
1003
+ "total": 28,
1004
+ "rate": 1.0
1005
+ }
1006
+ },
1007
+ "operation:or": {
1008
+ "json_valid": {
1009
+ "correct": 28,
1010
+ "total": 28,
1011
+ "rate": 1.0
1012
+ },
1013
+ "schema_valid": {
1014
+ "correct": 28,
1015
+ "total": 28,
1016
+ "rate": 1.0
1017
+ },
1018
+ "action_correct": {
1019
+ "correct": 28,
1020
+ "total": 28,
1021
+ "rate": 1.0
1022
+ },
1023
+ "tool_correct": {
1024
+ "correct": 28,
1025
+ "total": 28,
1026
+ "rate": 1.0
1027
+ },
1028
+ "arguments_exact": {
1029
+ "correct": 28,
1030
+ "total": 28,
1031
+ "rate": 1.0
1032
+ },
1033
+ "sql_equivalent": {
1034
+ "correct": 28,
1035
+ "total": 28,
1036
+ "rate": 1.0
1037
+ },
1038
+ "success": {
1039
+ "correct": 28,
1040
+ "total": 28,
1041
+ "rate": 1.0
1042
+ }
1043
+ },
1044
+ "operation:month": {
1045
+ "json_valid": {
1046
+ "correct": 28,
1047
+ "total": 28,
1048
+ "rate": 1.0
1049
+ },
1050
+ "schema_valid": {
1051
+ "correct": 28,
1052
+ "total": 28,
1053
+ "rate": 1.0
1054
+ },
1055
+ "action_correct": {
1056
+ "correct": 28,
1057
+ "total": 28,
1058
+ "rate": 1.0
1059
+ },
1060
+ "tool_correct": {
1061
+ "correct": 28,
1062
+ "total": 28,
1063
+ "rate": 1.0
1064
+ },
1065
+ "arguments_exact": {
1066
+ "correct": 28,
1067
+ "total": 28,
1068
+ "rate": 1.0
1069
+ },
1070
+ "sql_equivalent": {
1071
+ "correct": 28,
1072
+ "total": 28,
1073
+ "rate": 1.0
1074
+ },
1075
+ "success": {
1076
+ "correct": 28,
1077
+ "total": 28,
1078
+ "rate": 1.0
1079
+ }
1080
+ },
1081
+ "operation:project_eq": {
1082
+ "json_valid": {
1083
+ "correct": 28,
1084
+ "total": 28,
1085
+ "rate": 1.0
1086
+ },
1087
+ "schema_valid": {
1088
+ "correct": 28,
1089
+ "total": 28,
1090
+ "rate": 1.0
1091
+ },
1092
+ "action_correct": {
1093
+ "correct": 28,
1094
+ "total": 28,
1095
+ "rate": 1.0
1096
+ },
1097
+ "tool_correct": {
1098
+ "correct": 28,
1099
+ "total": 28,
1100
+ "rate": 1.0
1101
+ },
1102
+ "arguments_exact": {
1103
+ "correct": 28,
1104
+ "total": 28,
1105
+ "rate": 1.0
1106
+ },
1107
+ "sql_equivalent": {
1108
+ "correct": 28,
1109
+ "total": 28,
1110
+ "rate": 1.0
1111
+ },
1112
+ "success": {
1113
+ "correct": 28,
1114
+ "total": 28,
1115
+ "rate": 1.0
1116
+ }
1117
+ },
1118
+ "operation:contains": {
1119
+ "json_valid": {
1120
+ "correct": 24,
1121
+ "total": 24,
1122
+ "rate": 1.0
1123
+ },
1124
+ "schema_valid": {
1125
+ "correct": 24,
1126
+ "total": 24,
1127
+ "rate": 1.0
1128
+ },
1129
+ "action_correct": {
1130
+ "correct": 24,
1131
+ "total": 24,
1132
+ "rate": 1.0
1133
+ },
1134
+ "tool_correct": {
1135
+ "correct": 24,
1136
+ "total": 24,
1137
+ "rate": 1.0
1138
+ },
1139
+ "arguments_exact": {
1140
+ "correct": 24,
1141
+ "total": 24,
1142
+ "rate": 1.0
1143
+ },
1144
+ "sql_equivalent": {
1145
+ "correct": 24,
1146
+ "total": 24,
1147
+ "rate": 1.0
1148
+ },
1149
+ "success": {
1150
+ "correct": 24,
1151
+ "total": 24,
1152
+ "rate": 1.0
1153
+ }
1154
+ },
1155
+ "operation:not_null": {
1156
+ "json_valid": {
1157
+ "correct": 28,
1158
+ "total": 28,
1159
+ "rate": 1.0
1160
+ },
1161
+ "schema_valid": {
1162
+ "correct": 28,
1163
+ "total": 28,
1164
+ "rate": 1.0
1165
+ },
1166
+ "action_correct": {
1167
+ "correct": 28,
1168
+ "total": 28,
1169
+ "rate": 1.0
1170
+ },
1171
+ "tool_correct": {
1172
+ "correct": 28,
1173
+ "total": 28,
1174
+ "rate": 1.0
1175
+ },
1176
+ "arguments_exact": {
1177
+ "correct": 28,
1178
+ "total": 28,
1179
+ "rate": 1.0
1180
+ },
1181
+ "sql_equivalent": {
1182
+ "correct": 28,
1183
+ "total": 28,
1184
+ "rate": 1.0
1185
+ },
1186
+ "success": {
1187
+ "correct": 28,
1188
+ "total": 28,
1189
+ "rate": 1.0
1190
+ }
1191
+ },
1192
+ "operation:gt": {
1193
+ "json_valid": {
1194
+ "correct": 28,
1195
+ "total": 28,
1196
+ "rate": 1.0
1197
+ },
1198
+ "schema_valid": {
1199
+ "correct": 28,
1200
+ "total": 28,
1201
+ "rate": 1.0
1202
+ },
1203
+ "action_correct": {
1204
+ "correct": 28,
1205
+ "total": 28,
1206
+ "rate": 1.0
1207
+ },
1208
+ "tool_correct": {
1209
+ "correct": 28,
1210
+ "total": 28,
1211
+ "rate": 1.0
1212
+ },
1213
+ "arguments_exact": {
1214
+ "correct": 28,
1215
+ "total": 28,
1216
+ "rate": 1.0
1217
+ },
1218
+ "sql_equivalent": {
1219
+ "correct": 28,
1220
+ "total": 28,
1221
+ "rate": 1.0
1222
+ },
1223
+ "success": {
1224
+ "correct": 28,
1225
+ "total": 28,
1226
+ "rate": 1.0
1227
+ }
1228
+ },
1229
+ "operation:lte": {
1230
+ "json_valid": {
1231
+ "correct": 28,
1232
+ "total": 28,
1233
+ "rate": 1.0
1234
+ },
1235
+ "schema_valid": {
1236
+ "correct": 28,
1237
+ "total": 28,
1238
+ "rate": 1.0
1239
+ },
1240
+ "action_correct": {
1241
+ "correct": 28,
1242
+ "total": 28,
1243
+ "rate": 1.0
1244
+ },
1245
+ "tool_correct": {
1246
+ "correct": 28,
1247
+ "total": 28,
1248
+ "rate": 1.0
1249
+ },
1250
+ "arguments_exact": {
1251
+ "correct": 28,
1252
+ "total": 28,
1253
+ "rate": 1.0
1254
+ },
1255
+ "sql_equivalent": {
1256
+ "correct": 28,
1257
+ "total": 28,
1258
+ "rate": 1.0
1259
+ },
1260
+ "success": {
1261
+ "correct": 28,
1262
+ "total": 28,
1263
+ "rate": 1.0
1264
+ }
1265
+ },
1266
+ "operation:bottom": {
1267
+ "json_valid": {
1268
+ "correct": 28,
1269
+ "total": 28,
1270
+ "rate": 1.0
1271
+ },
1272
+ "schema_valid": {
1273
+ "correct": 28,
1274
+ "total": 28,
1275
+ "rate": 1.0
1276
+ },
1277
+ "action_correct": {
1278
+ "correct": 28,
1279
+ "total": 28,
1280
+ "rate": 1.0
1281
+ },
1282
+ "tool_correct": {
1283
+ "correct": 28,
1284
+ "total": 28,
1285
+ "rate": 1.0
1286
+ },
1287
+ "arguments_exact": {
1288
+ "correct": 28,
1289
+ "total": 28,
1290
+ "rate": 1.0
1291
+ },
1292
+ "sql_equivalent": {
1293
+ "correct": 28,
1294
+ "total": 28,
1295
+ "rate": 1.0
1296
+ },
1297
+ "success": {
1298
+ "correct": 28,
1299
+ "total": 28,
1300
+ "rate": 1.0
1301
+ }
1302
+ },
1303
+ "operation:having": {
1304
+ "json_valid": {
1305
+ "correct": 28,
1306
+ "total": 28,
1307
+ "rate": 1.0
1308
+ },
1309
+ "schema_valid": {
1310
+ "correct": 28,
1311
+ "total": 28,
1312
+ "rate": 1.0
1313
+ },
1314
+ "action_correct": {
1315
+ "correct": 28,
1316
+ "total": 28,
1317
+ "rate": 1.0
1318
+ },
1319
+ "tool_correct": {
1320
+ "correct": 28,
1321
+ "total": 28,
1322
+ "rate": 1.0
1323
+ },
1324
+ "arguments_exact": {
1325
+ "correct": 28,
1326
+ "total": 28,
1327
+ "rate": 1.0
1328
+ },
1329
+ "sql_equivalent": {
1330
+ "correct": 28,
1331
+ "total": 28,
1332
+ "rate": 1.0
1333
+ },
1334
+ "success": {
1335
+ "correct": 28,
1336
+ "total": 28,
1337
+ "rate": 1.0
1338
+ }
1339
+ },
1340
+ "operation:sort_asc": {
1341
+ "json_valid": {
1342
+ "correct": 28,
1343
+ "total": 28,
1344
+ "rate": 1.0
1345
+ },
1346
+ "schema_valid": {
1347
+ "correct": 28,
1348
+ "total": 28,
1349
+ "rate": 1.0
1350
+ },
1351
+ "action_correct": {
1352
+ "correct": 28,
1353
+ "total": 28,
1354
+ "rate": 1.0
1355
+ },
1356
+ "tool_correct": {
1357
+ "correct": 28,
1358
+ "total": 28,
1359
+ "rate": 1.0
1360
+ },
1361
+ "arguments_exact": {
1362
+ "correct": 28,
1363
+ "total": 28,
1364
+ "rate": 1.0
1365
+ },
1366
+ "sql_equivalent": {
1367
+ "correct": 28,
1368
+ "total": 28,
1369
+ "rate": 1.0
1370
+ },
1371
+ "success": {
1372
+ "correct": 28,
1373
+ "total": 28,
1374
+ "rate": 1.0
1375
+ }
1376
+ },
1377
+ "operation:null": {
1378
+ "json_valid": {
1379
+ "correct": 28,
1380
+ "total": 28,
1381
+ "rate": 1.0
1382
+ },
1383
+ "schema_valid": {
1384
+ "correct": 28,
1385
+ "total": 28,
1386
+ "rate": 1.0
1387
+ },
1388
+ "action_correct": {
1389
+ "correct": 28,
1390
+ "total": 28,
1391
+ "rate": 1.0
1392
+ },
1393
+ "tool_correct": {
1394
+ "correct": 28,
1395
+ "total": 28,
1396
+ "rate": 1.0
1397
+ },
1398
+ "arguments_exact": {
1399
+ "correct": 28,
1400
+ "total": 28,
1401
+ "rate": 1.0
1402
+ },
1403
+ "sql_equivalent": {
1404
+ "correct": 28,
1405
+ "total": 28,
1406
+ "rate": 1.0
1407
+ },
1408
+ "success": {
1409
+ "correct": 28,
1410
+ "total": 28,
1411
+ "rate": 1.0
1412
+ }
1413
+ },
1414
+ "operation:year": {
1415
+ "json_valid": {
1416
+ "correct": 28,
1417
+ "total": 28,
1418
+ "rate": 1.0
1419
+ },
1420
+ "schema_valid": {
1421
+ "correct": 28,
1422
+ "total": 28,
1423
+ "rate": 1.0
1424
+ },
1425
+ "action_correct": {
1426
+ "correct": 28,
1427
+ "total": 28,
1428
+ "rate": 1.0
1429
+ },
1430
+ "tool_correct": {
1431
+ "correct": 28,
1432
+ "total": 28,
1433
+ "rate": 1.0
1434
+ },
1435
+ "arguments_exact": {
1436
+ "correct": 28,
1437
+ "total": 28,
1438
+ "rate": 1.0
1439
+ },
1440
+ "sql_equivalent": {
1441
+ "correct": 28,
1442
+ "total": 28,
1443
+ "rate": 1.0
1444
+ },
1445
+ "success": {
1446
+ "correct": 28,
1447
+ "total": 28,
1448
+ "rate": 1.0
1449
+ }
1450
+ },
1451
+ "operation:missing_value": {
1452
+ "json_valid": {
1453
+ "correct": 24,
1454
+ "total": 24,
1455
+ "rate": 1.0
1456
+ },
1457
+ "schema_valid": {
1458
+ "correct": 24,
1459
+ "total": 24,
1460
+ "rate": 1.0
1461
+ },
1462
+ "action_correct": {
1463
+ "correct": 24,
1464
+ "total": 24,
1465
+ "rate": 1.0
1466
+ },
1467
+ "tool_correct": {
1468
+ "correct": 0,
1469
+ "total": 0,
1470
+ "rate": 0.0
1471
+ },
1472
+ "arguments_exact": {
1473
+ "correct": 0,
1474
+ "total": 0,
1475
+ "rate": 0.0
1476
+ },
1477
+ "sql_equivalent": {
1478
+ "correct": 0,
1479
+ "total": 0,
1480
+ "rate": 0.0
1481
+ },
1482
+ "success": {
1483
+ "correct": 24,
1484
+ "total": 24,
1485
+ "rate": 1.0
1486
+ }
1487
+ },
1488
+ "operation:and": {
1489
+ "json_valid": {
1490
+ "correct": 28,
1491
+ "total": 28,
1492
+ "rate": 1.0
1493
+ },
1494
+ "schema_valid": {
1495
+ "correct": 28,
1496
+ "total": 28,
1497
+ "rate": 1.0
1498
+ },
1499
+ "action_correct": {
1500
+ "correct": 28,
1501
+ "total": 28,
1502
+ "rate": 1.0
1503
+ },
1504
+ "tool_correct": {
1505
+ "correct": 28,
1506
+ "total": 28,
1507
+ "rate": 1.0
1508
+ },
1509
+ "arguments_exact": {
1510
+ "correct": 28,
1511
+ "total": 28,
1512
+ "rate": 1.0
1513
+ },
1514
+ "sql_equivalent": {
1515
+ "correct": 28,
1516
+ "total": 28,
1517
+ "rate": 1.0
1518
+ },
1519
+ "success": {
1520
+ "correct": 28,
1521
+ "total": 28,
1522
+ "rate": 1.0
1523
+ }
1524
+ },
1525
+ "operation:date_after": {
1526
+ "json_valid": {
1527
+ "correct": 28,
1528
+ "total": 28,
1529
+ "rate": 1.0
1530
+ },
1531
+ "schema_valid": {
1532
+ "correct": 28,
1533
+ "total": 28,
1534
+ "rate": 1.0
1535
+ },
1536
+ "action_correct": {
1537
+ "correct": 28,
1538
+ "total": 28,
1539
+ "rate": 1.0
1540
+ },
1541
+ "tool_correct": {
1542
+ "correct": 28,
1543
+ "total": 28,
1544
+ "rate": 1.0
1545
+ },
1546
+ "arguments_exact": {
1547
+ "correct": 28,
1548
+ "total": 28,
1549
+ "rate": 1.0
1550
+ },
1551
+ "sql_equivalent": {
1552
+ "correct": 28,
1553
+ "total": 28,
1554
+ "rate": 1.0
1555
+ },
1556
+ "success": {
1557
+ "correct": 28,
1558
+ "total": 28,
1559
+ "rate": 1.0
1560
+ }
1561
+ },
1562
+ "operation:final": {
1563
+ "json_valid": {
1564
+ "correct": 24,
1565
+ "total": 24,
1566
+ "rate": 1.0
1567
+ },
1568
+ "schema_valid": {
1569
+ "correct": 24,
1570
+ "total": 24,
1571
+ "rate": 1.0
1572
+ },
1573
+ "action_correct": {
1574
+ "correct": 23,
1575
+ "total": 24,
1576
+ "rate": 0.9583333333333334
1577
+ },
1578
+ "tool_correct": {
1579
+ "correct": 0,
1580
+ "total": 0,
1581
+ "rate": 0.0
1582
+ },
1583
+ "arguments_exact": {
1584
+ "correct": 0,
1585
+ "total": 0,
1586
+ "rate": 0.0
1587
+ },
1588
+ "sql_equivalent": {
1589
+ "correct": 0,
1590
+ "total": 0,
1591
+ "rate": 0.0
1592
+ },
1593
+ "success": {
1594
+ "correct": 23,
1595
+ "total": 24,
1596
+ "rate": 0.9583333333333334
1597
+ }
1598
+ },
1599
+ "operation:list_tables": {
1600
+ "json_valid": {
1601
+ "correct": 24,
1602
+ "total": 24,
1603
+ "rate": 1.0
1604
+ },
1605
+ "schema_valid": {
1606
+ "correct": 24,
1607
+ "total": 24,
1608
+ "rate": 1.0
1609
+ },
1610
+ "action_correct": {
1611
+ "correct": 24,
1612
+ "total": 24,
1613
+ "rate": 1.0
1614
+ },
1615
+ "tool_correct": {
1616
+ "correct": 24,
1617
+ "total": 24,
1618
+ "rate": 1.0
1619
+ },
1620
+ "arguments_exact": {
1621
+ "correct": 24,
1622
+ "total": 24,
1623
+ "rate": 1.0
1624
+ },
1625
+ "sql_equivalent": {
1626
+ "correct": 0,
1627
+ "total": 0,
1628
+ "rate": 0.0
1629
+ },
1630
+ "success": {
1631
+ "correct": 24,
1632
+ "total": 24,
1633
+ "rate": 1.0
1634
+ }
1635
+ },
1636
+ "operation:describe": {
1637
+ "json_valid": {
1638
+ "correct": 24,
1639
+ "total": 24,
1640
+ "rate": 1.0
1641
+ },
1642
+ "schema_valid": {
1643
+ "correct": 24,
1644
+ "total": 24,
1645
+ "rate": 1.0
1646
+ },
1647
+ "action_correct": {
1648
+ "correct": 24,
1649
+ "total": 24,
1650
+ "rate": 1.0
1651
+ },
1652
+ "tool_correct": {
1653
+ "correct": 24,
1654
+ "total": 24,
1655
+ "rate": 1.0
1656
+ },
1657
+ "arguments_exact": {
1658
+ "correct": 24,
1659
+ "total": 24,
1660
+ "rate": 1.0
1661
+ },
1662
+ "sql_equivalent": {
1663
+ "correct": 0,
1664
+ "total": 0,
1665
+ "rate": 0.0
1666
+ },
1667
+ "success": {
1668
+ "correct": 24,
1669
+ "total": 24,
1670
+ "rate": 1.0
1671
+ }
1672
+ },
1673
+ "operation:join": {
1674
+ "json_valid": {
1675
+ "correct": 24,
1676
+ "total": 24,
1677
+ "rate": 1.0
1678
+ },
1679
+ "schema_valid": {
1680
+ "correct": 24,
1681
+ "total": 24,
1682
+ "rate": 1.0
1683
+ },
1684
+ "action_correct": {
1685
+ "correct": 24,
1686
+ "total": 24,
1687
+ "rate": 1.0
1688
+ },
1689
+ "tool_correct": {
1690
+ "correct": 24,
1691
+ "total": 24,
1692
+ "rate": 1.0
1693
+ },
1694
+ "arguments_exact": {
1695
+ "correct": 24,
1696
+ "total": 24,
1697
+ "rate": 1.0
1698
+ },
1699
+ "sql_equivalent": {
1700
+ "correct": 24,
1701
+ "total": 24,
1702
+ "rate": 1.0
1703
+ },
1704
+ "success": {
1705
+ "correct": 24,
1706
+ "total": 24,
1707
+ "rate": 1.0
1708
+ }
1709
+ },
1710
+ "operation:join_filter": {
1711
+ "json_valid": {
1712
+ "correct": 24,
1713
+ "total": 24,
1714
+ "rate": 1.0
1715
+ },
1716
+ "schema_valid": {
1717
+ "correct": 24,
1718
+ "total": 24,
1719
+ "rate": 1.0
1720
+ },
1721
+ "action_correct": {
1722
+ "correct": 24,
1723
+ "total": 24,
1724
+ "rate": 1.0
1725
+ },
1726
+ "tool_correct": {
1727
+ "correct": 24,
1728
+ "total": 24,
1729
+ "rate": 1.0
1730
+ },
1731
+ "arguments_exact": {
1732
+ "correct": 24,
1733
+ "total": 24,
1734
+ "rate": 1.0
1735
+ },
1736
+ "sql_equivalent": {
1737
+ "correct": 24,
1738
+ "total": 24,
1739
+ "rate": 1.0
1740
+ },
1741
+ "success": {
1742
+ "correct": 24,
1743
+ "total": 24,
1744
+ "rate": 1.0
1745
+ }
1746
+ },
1747
+ "operation:between": {
1748
+ "json_valid": {
1749
+ "correct": 28,
1750
+ "total": 28,
1751
+ "rate": 1.0
1752
+ },
1753
+ "schema_valid": {
1754
+ "correct": 28,
1755
+ "total": 28,
1756
+ "rate": 1.0
1757
+ },
1758
+ "action_correct": {
1759
+ "correct": 28,
1760
+ "total": 28,
1761
+ "rate": 1.0
1762
+ },
1763
+ "tool_correct": {
1764
+ "correct": 28,
1765
+ "total": 28,
1766
+ "rate": 1.0
1767
+ },
1768
+ "arguments_exact": {
1769
+ "correct": 28,
1770
+ "total": 28,
1771
+ "rate": 1.0
1772
+ },
1773
+ "sql_equivalent": {
1774
+ "correct": 28,
1775
+ "total": 28,
1776
+ "rate": 1.0
1777
+ },
1778
+ "success": {
1779
+ "correct": 28,
1780
+ "total": 28,
1781
+ "rate": 1.0
1782
+ }
1783
+ },
1784
+ "operation:search": {
1785
+ "json_valid": {
1786
+ "correct": 24,
1787
+ "total": 24,
1788
+ "rate": 1.0
1789
+ },
1790
+ "schema_valid": {
1791
+ "correct": 24,
1792
+ "total": 24,
1793
+ "rate": 1.0
1794
+ },
1795
+ "action_correct": {
1796
+ "correct": 24,
1797
+ "total": 24,
1798
+ "rate": 1.0
1799
+ },
1800
+ "tool_correct": {
1801
+ "correct": 24,
1802
+ "total": 24,
1803
+ "rate": 1.0
1804
+ },
1805
+ "arguments_exact": {
1806
+ "correct": 24,
1807
+ "total": 24,
1808
+ "rate": 1.0
1809
+ },
1810
+ "sql_equivalent": {
1811
+ "correct": 0,
1812
+ "total": 0,
1813
+ "rate": 0.0
1814
+ },
1815
+ "success": {
1816
+ "correct": 24,
1817
+ "total": 24,
1818
+ "rate": 1.0
1819
+ }
1820
+ },
1821
+ "operation:weather": {
1822
+ "json_valid": {
1823
+ "correct": 24,
1824
+ "total": 24,
1825
+ "rate": 1.0
1826
+ },
1827
+ "schema_valid": {
1828
+ "correct": 24,
1829
+ "total": 24,
1830
+ "rate": 1.0
1831
+ },
1832
+ "action_correct": {
1833
+ "correct": 24,
1834
+ "total": 24,
1835
+ "rate": 1.0
1836
+ },
1837
+ "tool_correct": {
1838
+ "correct": 24,
1839
+ "total": 24,
1840
+ "rate": 1.0
1841
+ },
1842
+ "arguments_exact": {
1843
+ "correct": 24,
1844
+ "total": 24,
1845
+ "rate": 1.0
1846
+ },
1847
+ "sql_equivalent": {
1848
+ "correct": 0,
1849
+ "total": 0,
1850
+ "rate": 0.0
1851
+ },
1852
+ "success": {
1853
+ "correct": 24,
1854
+ "total": 24,
1855
+ "rate": 1.0
1856
+ }
1857
+ },
1858
+ "operation:ticket": {
1859
+ "json_valid": {
1860
+ "correct": 24,
1861
+ "total": 24,
1862
+ "rate": 1.0
1863
+ },
1864
+ "schema_valid": {
1865
+ "correct": 24,
1866
+ "total": 24,
1867
+ "rate": 1.0
1868
+ },
1869
+ "action_correct": {
1870
+ "correct": 24,
1871
+ "total": 24,
1872
+ "rate": 1.0
1873
+ },
1874
+ "tool_correct": {
1875
+ "correct": 24,
1876
+ "total": 24,
1877
+ "rate": 1.0
1878
+ },
1879
+ "arguments_exact": {
1880
+ "correct": 24,
1881
+ "total": 24,
1882
+ "rate": 1.0
1883
+ },
1884
+ "sql_equivalent": {
1885
+ "correct": 0,
1886
+ "total": 0,
1887
+ "rate": 0.0
1888
+ },
1889
+ "success": {
1890
+ "correct": 24,
1891
+ "total": 24,
1892
+ "rate": 1.0
1893
+ }
1894
+ },
1895
+ "operation:read_file": {
1896
+ "json_valid": {
1897
+ "correct": 24,
1898
+ "total": 24,
1899
+ "rate": 1.0
1900
+ },
1901
+ "schema_valid": {
1902
+ "correct": 23,
1903
+ "total": 24,
1904
+ "rate": 0.9583333333333334
1905
+ },
1906
+ "action_correct": {
1907
+ "correct": 24,
1908
+ "total": 24,
1909
+ "rate": 1.0
1910
+ },
1911
+ "tool_correct": {
1912
+ "correct": 23,
1913
+ "total": 24,
1914
+ "rate": 0.9583333333333334
1915
+ },
1916
+ "arguments_exact": {
1917
+ "correct": 23,
1918
+ "total": 24,
1919
+ "rate": 0.9583333333333334
1920
+ },
1921
+ "sql_equivalent": {
1922
+ "correct": 0,
1923
+ "total": 0,
1924
+ "rate": 0.0
1925
+ },
1926
+ "success": {
1927
+ "correct": 23,
1928
+ "total": 24,
1929
+ "rate": 0.9583333333333334
1930
+ }
1931
+ }
1932
+ }
1933
+ }
examples/context-mysql.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "mysql",
3
+ "project_id": "demo",
4
+ "schema": [
5
+ "CREATE TABLE customers (id INTEGER PRIMARY KEY, name TEXT, city TEXT, amount REAL);"
6
+ ],
7
+ "tools": [
8
+ {
9
+ "name": "query",
10
+ "description": "Execute a read-only MySQL SELECT query.",
11
+ "inputSchema": {
12
+ "type": "object",
13
+ "properties": {
14
+ "query": {
15
+ "type": "string"
16
+ }
17
+ },
18
+ "required": [
19
+ "query"
20
+ ],
21
+ "additionalProperties": false
22
+ }
23
+ },
24
+ {
25
+ "name": "list_tables",
26
+ "description": "List database tables and their columns.",
27
+ "inputSchema": {
28
+ "type": "object",
29
+ "properties": {
30
+ "schemas": {
31
+ "type": "array",
32
+ "items": {
33
+ "type": "string"
34
+ }
35
+ }
36
+ },
37
+ "required": [],
38
+ "additionalProperties": false
39
+ }
40
+ },
41
+ {
42
+ "name": "describe_table",
43
+ "description": "Inspect columns and types for one table.",
44
+ "inputSchema": {
45
+ "type": "object",
46
+ "properties": {
47
+ "table": {
48
+ "type": "string"
49
+ }
50
+ },
51
+ "required": [
52
+ "table"
53
+ ],
54
+ "additionalProperties": false
55
+ }
56
+ }
57
+ ],
58
+ "policy": "Read-only database access. Use provided tools. Ask when required information is missing."
59
+ }
examples/context-supabase.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "supabase",
3
+ "project_id": "demo",
4
+ "schema": [
5
+ "CREATE TABLE customers (id INTEGER PRIMARY KEY, name TEXT, city TEXT, amount REAL);"
6
+ ],
7
+ "tools": [
8
+ {
9
+ "name": "execute_sql",
10
+ "description": "Execute a read-only PostgreSQL SELECT query.",
11
+ "inputSchema": {
12
+ "type": "object",
13
+ "properties": {
14
+ "query": {
15
+ "type": "string"
16
+ }
17
+ },
18
+ "required": [
19
+ "query"
20
+ ],
21
+ "additionalProperties": false
22
+ }
23
+ },
24
+ {
25
+ "name": "list_tables",
26
+ "description": "List database tables and their columns.",
27
+ "inputSchema": {
28
+ "type": "object",
29
+ "properties": {
30
+ "schemas": {
31
+ "type": "array",
32
+ "items": {
33
+ "type": "string"
34
+ }
35
+ }
36
+ },
37
+ "required": [],
38
+ "additionalProperties": false
39
+ }
40
+ }
41
+ ],
42
+ "policy": "Read-only database access. Use provided tools. Ask when required information is missing."
43
+ }
grounding-stats.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "layout": 8826,
3
+ "runtime_names": 13635,
4
+ "city_language": 4800
5
+ }
manifest.json ADDED
@@ -0,0 +1,279 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "parameters": 139738113,
3
+ "format": "Custom native PyTorch; see tinyquery/model.py, not a Transformers AutoModel checkpoint",
4
+ "random_initialization": true,
5
+ "files": {
6
+ "LICENSE": {
7
+ "bytes": 11544,
8
+ "sha256": "bbedc3fda3305820b977265f01b8619d87570a6739de3a5582c3464840f1e57a"
9
+ },
10
+ "README.md": {
11
+ "bytes": 9919,
12
+ "sha256": "34cd941a5170b840cbfa0450a741561a42b0ee8fae4b9fa26031ffe1026ae5dd"
13
+ },
14
+ "checkpoint-info.json": {
15
+ "bytes": 144,
16
+ "sha256": "9626ef405296d0772a9df05af70e96dddebcd1d0840d29180855b65887be589a"
17
+ },
18
+ "config.json": {
19
+ "bytes": 170,
20
+ "sha256": "94054411ca3c62c3b500405c4ab8c45ecd6d713d88dc95f726908ca8b9411df1"
21
+ },
22
+ "docs/architecture.md": {
23
+ "bytes": 4774,
24
+ "sha256": "497a2b76330e203dcbcd4e38fd9b03a1adcad2197e1e6bb545210b34fc3574ad"
25
+ },
26
+ "docs/experiment.md": {
27
+ "bytes": 5988,
28
+ "sha256": "1bba1663c1c927ca91299dedcfc200055420677df357829fd5271bd1ba8fe953"
29
+ },
30
+ "evaluation/baseline-manual.jsonl": {
31
+ "bytes": 64508,
32
+ "sha256": "7c45ebd7aa01711b10f0d15e47e1c46240c29acae0d70f8392693e7e33207020"
33
+ },
34
+ "evaluation/baseline-manual.summary.json": {
35
+ "bytes": 19377,
36
+ "sha256": "6f7ac7ea1ab6e2b1b3297bb3393f6e4fd21caefa7962a2d3983662807b6fb527"
37
+ },
38
+ "evaluation/baseline-test.jsonl": {
39
+ "bytes": 486708,
40
+ "sha256": "630ec167061e963e4557706fb74282dbd3d5ceb2e0951dd6cfc3f8c0b80cff47"
41
+ },
42
+ "evaluation/baseline-test.summary.json": {
43
+ "bytes": 38746,
44
+ "sha256": "80bb5910474dc7103c73265d8268f4de9b40209a964b54c5a33d9345d5f0d638"
45
+ },
46
+ "evaluation/development.summary.json": {
47
+ "bytes": 34207,
48
+ "sha256": "d9b17d2ab010df858674362a4cdf5275939d8728b594769637fa5b7954a1f2cd"
49
+ },
50
+ "evaluation/gpu-final-console-metrics.json": {
51
+ "bytes": 2062,
52
+ "sha256": "1760d2862fe481bb65d8bfad8110541d315e740ec1546996e777b547f4291b6b"
53
+ },
54
+ "evaluation/manual-mac.jsonl": {
55
+ "bytes": 98789,
56
+ "sha256": "6c028d9dbf90bea9dcd7daf8c4f529b149deaaabb780edcd764d391783865263"
57
+ },
58
+ "evaluation/manual-mac.summary.json": {
59
+ "bytes": 19604,
60
+ "sha256": "ecb96cfa02aa55a196e55b3bb9bbb331729d5cc8d0a79b6dd5bfbba958cef75b"
61
+ },
62
+ "evaluation/test-mac.jsonl": {
63
+ "bytes": 794897,
64
+ "sha256": "6006020aefb90eecd3fa282cf3fceb445e32fc27bfe11bd967ce8cd7a86702d8"
65
+ },
66
+ "evaluation/test-mac.summary.json": {
67
+ "bytes": 38589,
68
+ "sha256": "17b685763d7a20d3d3256a6264eacf3f569e461cf46eb68ee9160e04ecbe8817"
69
+ },
70
+ "evaluation/validation.summary.json": {
71
+ "bytes": 38081,
72
+ "sha256": "86a6a6e36522decadd3e93be9bcdc9435c9f619fd16290cfa78542001358d354"
73
+ },
74
+ "examples/context-mysql.json": {
75
+ "bytes": 1366,
76
+ "sha256": "49fca0302ceb7e5199997a905c309533768cc4e0310be62b092d40dfe19d3209"
77
+ },
78
+ "examples/context-supabase.json": {
79
+ "bytes": 1027,
80
+ "sha256": "d54c9e69716303ce5a57d79b75f8f26499c6fb6131663ff168e9d5697d9122ea"
81
+ },
82
+ "grounding-stats.json": {
83
+ "bytes": 71,
84
+ "sha256": "307e4a794c8257fd4fab4040994070560fd3f60a8f73143a7a044c986ea4d545"
85
+ },
86
+ "model.safetensors": {
87
+ "bytes": 279483882,
88
+ "sha256": "9489b5cde69c11f64b3e7031182e8248aa83790f1ad4aeefbf99a4e5e152e692"
89
+ },
90
+ "provenance/experiment-provenance.json": {
91
+ "bytes": 5894,
92
+ "sha256": "490b8844864ba2d8116ff898ec7a010ca31f40e900863a317f4b452dcdf2d836"
93
+ },
94
+ "provenance/full-audit.json": {
95
+ "bytes": 363,
96
+ "sha256": "2616ce8641587452aafaf88f730bd4a9546c5cd5fdd18097e3d2bf9e6c42dec6"
97
+ },
98
+ "provenance/native-reference-validation.json": {
99
+ "bytes": 11624,
100
+ "sha256": "41289ff92629e67bc77f5e1790cc6e638254d0ab516fd42246fe520e228bb766"
101
+ },
102
+ "provenance/selection.json": {
103
+ "bytes": 552,
104
+ "sha256": "87972e47a26951aed4e2ac350da3a72c2fc054e1e70649c16f06ff270d724e27"
105
+ },
106
+ "provenance/teacher-runtime.json": {
107
+ "bytes": 2104,
108
+ "sha256": "d208c7bacc2974395585615eb5baaac0c8f4663fb34f5a8bb40dfa777e01921d"
109
+ },
110
+ "provenance/template-filter.json": {
111
+ "bytes": 1576,
112
+ "sha256": "f0e55ba2ce0805e04ec3369e4a4a35bc9ff006d10367753b23502e34805635b4"
113
+ },
114
+ "requirements.txt": {
115
+ "bytes": 188,
116
+ "sha256": "4d2963280263d14196c338b3a20d098d6d5853a70c410504ba717c8b81decaf1"
117
+ },
118
+ "runtime/README.md": {
119
+ "bytes": 1775,
120
+ "sha256": "a4f8b516d2da87f9c6313ca258680e418572a1ce607ee8d7c847950159498204"
121
+ },
122
+ "runtime/download-teacher.py": {
123
+ "bytes": 193,
124
+ "sha256": "0f6138e4d46bac757bccbc376cdcb5d88e85c6f5c259412c83db59b4c598afc6"
125
+ },
126
+ "runtime/mac-environment.lock.txt": {
127
+ "bytes": 540,
128
+ "sha256": "a0196b5cf9b10aa8dfdc7311a534ae032c8647fbcc5c0bb23477097878f0a6f7"
129
+ },
130
+ "runtime/requirements-mac.txt": {
131
+ "bytes": 188,
132
+ "sha256": "4d2963280263d14196c338b3a20d098d6d5853a70c410504ba717c8b81decaf1"
133
+ },
134
+ "runtime/requirements-teacher-cuda.txt": {
135
+ "bytes": 72,
136
+ "sha256": "cac0f3bfd6d461da8415ace38468217839cf8185b9ae52a9e3247adca3f834e6"
137
+ },
138
+ "runtime/requirements-training-cuda.txt": {
139
+ "bytes": 299,
140
+ "sha256": "7b0c3222210c260c9528a94828344ac59405acefdc8118bbf22b652d1dfa792d"
141
+ },
142
+ "runtime/serve-teacher.sh": {
143
+ "bytes": 686,
144
+ "sha256": "21971a0062a8ede7df97fc6930003fbacb4011729bbfb8ea19b82cecee1daa2b"
145
+ },
146
+ "split-audit.json": {
147
+ "bytes": 1423,
148
+ "sha256": "5d4275fb3fc9f13e1b9d8b6e6a4f90783db607f43a3d4f886a81b332dc3cdf50"
149
+ },
150
+ "tinyquery/__init__.py": {
151
+ "bytes": 80,
152
+ "sha256": "83d8a6e71e625d98eef78ce40796f522c4be10aa149deab3bc2c1849b6414ebc"
153
+ },
154
+ "tinyquery/audit_data.py": {
155
+ "bytes": 3526,
156
+ "sha256": "b7bf574f8f1ea4c34de3b80c0fc98fd98272161c13ce82dafe70c4bea1bd9948"
157
+ },
158
+ "tinyquery/average_checkpoints.py": {
159
+ "bytes": 2239,
160
+ "sha256": "ff2fe4c30cf7b881e651a91457920a6133b3f72db0f66c3e809b6beb83bfcc99"
161
+ },
162
+ "tinyquery/baseline.py": {
163
+ "bytes": 5342,
164
+ "sha256": "645c48aad3a492288881cd4f87fd554fa7e19b9c04eee80464f42324a0f8a0a8"
165
+ },
166
+ "tinyquery/chat.py": {
167
+ "bytes": 3706,
168
+ "sha256": "6afc8a67312f5a909964465656107432a899eca5e59eab0af8bbc68bbb9c5e58"
169
+ },
170
+ "tinyquery/checkpoint_eval.py": {
171
+ "bytes": 2441,
172
+ "sha256": "b09e552ec0d4af7c892d581798baaf0b6dcb4c379dd13e5c66b73edd1ce44f0d"
173
+ },
174
+ "tinyquery/concrete.py": {
175
+ "bytes": 4755,
176
+ "sha256": "b4f122bac7f1798dbdae3d1cbef53905435c2f5e76ed0a7761182e7330212780"
177
+ },
178
+ "tinyquery/curriculum_data.py": {
179
+ "bytes": 5910,
180
+ "sha256": "b5eddaa3c392b275a8c23a65fc8364bb0e48b2207776b0e14ed46e0af1abcdf8"
181
+ },
182
+ "tinyquery/data.py": {
183
+ "bytes": 15996,
184
+ "sha256": "4f406ea28f33eea0dbff006269cf5f7f2128567be73d1a13b94c3116a3003928"
185
+ },
186
+ "tinyquery/evaluate.py": {
187
+ "bytes": 9364,
188
+ "sha256": "7bebc27747fc6b3d3ce79471decb42b0dd200c7c7404c366b2c621dd76568204"
189
+ },
190
+ "tinyquery/export.py": {
191
+ "bytes": 2871,
192
+ "sha256": "cb179b6eecab9f8f1788b5825910414a4e05a786064ea20d13921031b82d7698"
193
+ },
194
+ "tinyquery/filter_templates.py": {
195
+ "bytes": 2130,
196
+ "sha256": "42adf094bd0d87b8457ec93e72e65e22684530b8a185468ef5a62e118e57221a"
197
+ },
198
+ "tinyquery/grounding_data.py": {
199
+ "bytes": 5630,
200
+ "sha256": "0c936853adf0bb21dd3709d12622c4a2a5a18fba3fbfcd00f41a77a7cd7bb3fa"
201
+ },
202
+ "tinyquery/layout_data.py": {
203
+ "bytes": 8159,
204
+ "sha256": "de5cb05aaf6846a37cd0803ff41846f20d968cb8ccf030f6906789a7be95429a"
205
+ },
206
+ "tinyquery/manual_eval.py": {
207
+ "bytes": 5385,
208
+ "sha256": "7fb830a9d8780e43b3253a71a593296e6f6c8bb27d18f5b717e01ce851d52edf"
209
+ },
210
+ "tinyquery/model.py": {
211
+ "bytes": 9287,
212
+ "sha256": "6d2f02f31228a010176719f91e113f7c16870c7d4f1cf1f63218d530caccdc43"
213
+ },
214
+ "tinyquery/native_sql.py": {
215
+ "bytes": 5910,
216
+ "sha256": "0343c466f19b59c4d86bae9dcccf676d247b86bb268d72e38f49e385fc22fd71"
217
+ },
218
+ "tinyquery/package_dataset.py": {
219
+ "bytes": 2998,
220
+ "sha256": "46d40adb4b810e31aa228f532a88790b501784e8f65e058f2c81805f7d9c32de"
221
+ },
222
+ "tinyquery/prepare.py": {
223
+ "bytes": 3427,
224
+ "sha256": "28dbce0678889c787e30ae348019b8dd05c41a479f76b8f720c6cacce78b890f"
225
+ },
226
+ "tinyquery/recipes.py": {
227
+ "bytes": 3534,
228
+ "sha256": "90cb3c82dbc7f50fc9e7a3ffbef8ff1ca4bf011e92389fa0a63e189a7eef0fdc"
229
+ },
230
+ "tinyquery/requirements-inference.txt": {
231
+ "bytes": 188,
232
+ "sha256": "4d2963280263d14196c338b3a20d098d6d5853a70c410504ba717c8b81decaf1"
233
+ },
234
+ "tinyquery/requirements.txt": {
235
+ "bytes": 299,
236
+ "sha256": "7b0c3222210c260c9528a94828344ac59405acefdc8118bbf22b652d1dfa792d"
237
+ },
238
+ "tinyquery/rescore.py": {
239
+ "bytes": 1797,
240
+ "sha256": "01a451361650e10a0992819599da0054162e0c927438a856f086584ed2166ba6"
241
+ },
242
+ "tinyquery/scope_data.py": {
243
+ "bytes": 3056,
244
+ "sha256": "9596541b871b33682d9a22ab28949aa8f6809d4d25b7fb3e494b033795b0b039"
245
+ },
246
+ "tinyquery/teacher_bench.py": {
247
+ "bytes": 2235,
248
+ "sha256": "29b9943bc93060ad1cc5fbe91961b1219e87e0333f08d93d1af6ee4d64004635"
249
+ },
250
+ "tinyquery/teacher_templates.py": {
251
+ "bytes": 4131,
252
+ "sha256": "9c81deae8851da2767fb160720ea16ea8969a7a9094079260bd55a17827a25e2"
253
+ },
254
+ "tinyquery/test_adapter.py": {
255
+ "bytes": 3207,
256
+ "sha256": "78093a8b4339a2cb39dec4132749ac6de019a834af7c9b4bdc24929e6f8ebe4c"
257
+ },
258
+ "tinyquery/test_model.py": {
259
+ "bytes": 1990,
260
+ "sha256": "c118a42cc1e590878aa6728279460e87f9f52e1ae9035c48915450e424661d9a"
261
+ },
262
+ "tinyquery/train.py": {
263
+ "bytes": 11493,
264
+ "sha256": "4529ec9bd24158ed58557d4e1ecb2698ee171c36db6d344c8c67785795ac45f8"
265
+ },
266
+ "tinyquery/verify_concrete.py": {
267
+ "bytes": 3874,
268
+ "sha256": "701d706c6b7de9409408b727b176d1b2b7e0dae6f263c4aa432fe93a7ed34126"
269
+ },
270
+ "tokenization.json": {
271
+ "bytes": 992,
272
+ "sha256": "f300d44db96f49fdc7a8ee30f67b8aaa39524023d93a4c045333906c8ee0c5af"
273
+ },
274
+ "tokenizer.json": {
275
+ "bytes": 264747,
276
+ "sha256": "6e7ce36ebb3345785916cabccaeb6fff24335b3e88f831894ed8ef263396ed1b"
277
+ }
278
+ }
279
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9489b5cde69c11f64b3e7031182e8248aa83790f1ad4aeefbf99a4e5e152e692
3
+ size 279483882
provenance/experiment-provenance.json ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "experiment_start_utc": "2026-09-10T10:57:23Z",
3
+ "hard_deadline_utc": "2026-09-10T14:57:23Z",
4
+ "student_initialization": "All weights originate from random initialization during this experiment. Copy-head parameters were added later; no pretrained student weights were used.",
5
+ "teacher_role": "Language templates, direct paraphrases, and round-trip verification; reference SQL semantics constructed programmatically.",
6
+ "curriculum": [
7
+ {
8
+ "data": "v1",
9
+ "examples": 85777,
10
+ "tokens": 22739579,
11
+ "purpose": "Initial semantic and language learning"
12
+ },
13
+ {
14
+ "data": "v2",
15
+ "examples": 152667,
16
+ "tokens": 43182146,
17
+ "purpose": "Random character identifiers and tool names"
18
+ },
19
+ {
20
+ "data": "v3",
21
+ "examples": 218022,
22
+ "tokens": 62519864,
23
+ "purpose": "Training-vocabulary chunks and varied MCP naming styles"
24
+ },
25
+ {
26
+ "data": "v4",
27
+ "examples": 283377,
28
+ "tokens": 81750566,
29
+ "purpose": "Identifiers without fixed prefixes; copies restricted to context/question",
30
+ "sample_weights": {
31
+ "latest_65355_variants": 3,
32
+ "other_rows": 1
33
+ }
34
+ },
35
+ {
36
+ "data": "v5",
37
+ "examples": 302893,
38
+ "tokens": 87335945,
39
+ "purpose": "Exact copying of project IDs and schema discovery table names",
40
+ "sample_weights": {
41
+ "scope_and_discovery_variants": 4,
42
+ "unprefixed_identifier_variants": 3,
43
+ "other_rows": 1
44
+ },
45
+ "validation_selection": "All 1,200 validation records, token-weighted loss"
46
+ },
47
+ {
48
+ "data": "v6",
49
+ "examples": 320115,
50
+ "purpose": "New schema families with related table/parent/project identifiers; authored comparison contrasts; conservative training-template audit filtering",
51
+ "new_scenarios_before_filter": 6000,
52
+ "new_rows_before_filter": 24000,
53
+ "excluded_rows": 6778,
54
+ "validation_selection": "All 1,200 validation records, token-weighted response loss",
55
+ "tokens": 92098292,
56
+ "response_tokens": 12137844
57
+ },
58
+ {
59
+ "data": "v7",
60
+ "purpose": "Variable schema layouts, random qualified tool names, authored natural city requests and Hindi lexical mappings",
61
+ "new_layout_variants": 8826,
62
+ "new_runtime_name_variants": 13635,
63
+ "new_city_language_rows": 4800,
64
+ "new_city_scenario_families": 1200,
65
+ "new_variant_sample_weight": 6,
66
+ "development_observation": "An informal default-schema demo failed on a shorter schema and natural language. This stage addresses that development failure; the demo is not a held-out benchmark.",
67
+ "examples": 347376,
68
+ "tokens": 100224712,
69
+ "response_tokens": 13163249
70
+ }
71
+ ],
72
+ "implementation_commits": [
73
+ "f24d869",
74
+ "c1ce778",
75
+ "c9e8d77",
76
+ "f6f0b7b",
77
+ "780db6a",
78
+ "4875531",
79
+ "f713a08",
80
+ "69e19ff",
81
+ "1f798c7",
82
+ "47267b7",
83
+ "5d7a622",
84
+ "3ebf37a",
85
+ "eecb176",
86
+ "1c50583",
87
+ "364753b",
88
+ "a8f336f",
89
+ "1049d88",
90
+ "9729c63"
91
+ ],
92
+ "architecture_reference": "https://aclanthology.org/P17-1099/",
93
+ "research_claim": "Established decoder components and a learned pointer-generator adaptation. No claim of a new research architecture or controlled ablation.",
94
+ "template_audit": {
95
+ "teacher": "Qwen/Qwen3.8-27B-FP8",
96
+ "mtp": 3,
97
+ "jobs": 330,
98
+ "template_instances": 1313,
99
+ "accepted": 1276,
100
+ "flagged": 37,
101
+ "training_rows_excluded": 6778,
102
+ "scope": "Training SQL templates only; held-out validation/test/manual phrases excluded",
103
+ "caveat": "Earlier stages used pre-filter corpus; final continuation uses filtered data"
104
+ },
105
+ "manual_split": "Additional hand-written phrasing templates rendered on 40 test scenario families; no shared train/validation scenarios. Manual and test are not independent schema-family samples.",
106
+ "development_split": "192 schema/tool-name perturbations of 140 validation families; no training, test or manual families. Used for development, not an independent test.",
107
+ "selection": {
108
+ "final_rule": "Among frozen evaluated candidates, maximize the mean of full validation task success and development task success; use validation response loss to select additional candidate snapshots. Final test and manual results are read only after weights are selected.",
109
+ "rationale": "Standard validation alone missed the schema-layout failure found in the development demo."
110
+ },
111
+ "refinement": {
112
+ "data": "v7, unchanged",
113
+ "start_utc": "2026-09-10T13:40:00Z",
114
+ "planned_minutes": 18,
115
+ "batch": 128,
116
+ "learning_rate": 0.0001,
117
+ "prompt_weight": 0,
118
+ "response_weight": 1,
119
+ "action_auxiliary_weight": 0.05,
120
+ "rationale": "Focus late optimization on output actions after earlier language learning; reduce unpredictable-input LM gradients. Selection can retain an earlier checkpoint if refinement does not improve development scores."
121
+ },
122
+ "selected_checkpoint": {
123
+ "step": 25715,
124
+ "sha256": "9489b5cde69c11f64b3e7031182e8248aa83790f1ad4aeefbf99a4e5e152e692",
125
+ "frozen_at_utc": "2026-09-10T14:00:36.513800+00:00",
126
+ "test_and_manual_excluded_from_selection": true
127
+ },
128
+ "selected_checkpoint_counters": {
129
+ "step": 25715,
130
+ "processed_tokens": 595067301,
131
+ "response_tokens": 78367410,
132
+ "training_seconds": 5092.33953666687,
133
+ "random_initialization": true
134
+ },
135
+ "completed_trainer_counters": {
136
+ "step": 32642,
137
+ "processed_tokens": 851198143,
138
+ "response_tokens": 113051294,
139
+ "training_seconds": 7099.562133073807,
140
+ "note": "Retained-lineage trainer counters include validation/checkpoint time, exclude discarded work/model loading. Last checkpoint was not selected."
141
+ },
142
+ "release_archive_limitation": "Vast.ai SSH refused connections after final evaluation completed; local selected weights and datasets were already secured. Some raw remote logs and final optimizer state were not retrieved."
143
+ }
provenance/full-audit.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rows": 347376,
3
+ "unique_ids": 347376,
4
+ "unique_prompts": 347376,
5
+ "sql_rows": 262468,
6
+ "unique_sql_cases": 151920,
7
+ "distinct_context_sql_compilations": 160253,
8
+ "fixtures_per_sql_case": 2,
9
+ "sql_engine": "SQLite after dialect parsing/adaptation; native coverage reported separately",
10
+ "seconds": 97.74559593200684,
11
+ "errors": [],
12
+ "passed": true
13
+ }
provenance/native-reference-validation.json ADDED
@@ -0,0 +1,474 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "seconds": 0.32275891304016113,
3
+ "cases": 66,
4
+ "gold_executes": 66,
5
+ "prediction_equivalent": null,
6
+ "engine_versions": {
7
+ "mysql": "8.0.46",
8
+ "postgresql": "16.15"
9
+ },
10
+ "results": [
11
+ {
12
+ "id": "c4df2d6a92784c925f92_en",
13
+ "backend": "supabase",
14
+ "operation": "all",
15
+ "gold_executes": true,
16
+ "prediction_equivalent": null
17
+ },
18
+ {
19
+ "id": "4996e2672571480e6c60_en",
20
+ "backend": "mysql",
21
+ "operation": "project",
22
+ "gold_executes": true,
23
+ "prediction_equivalent": null
24
+ },
25
+ {
26
+ "id": "dbb8cd8445dd19a458e2_en",
27
+ "backend": "supabase",
28
+ "operation": "eq",
29
+ "gold_executes": true,
30
+ "prediction_equivalent": null
31
+ },
32
+ {
33
+ "id": "39205adac55e98cd6749_en",
34
+ "backend": "supabase",
35
+ "operation": "project_eq",
36
+ "gold_executes": true,
37
+ "prediction_equivalent": null
38
+ },
39
+ {
40
+ "id": "5fc77c83422c0e74572f_en",
41
+ "backend": "supabase",
42
+ "operation": "gt",
43
+ "gold_executes": true,
44
+ "prediction_equivalent": null
45
+ },
46
+ {
47
+ "id": "4217b243f42c7af06169_en",
48
+ "backend": "mysql",
49
+ "operation": "lt",
50
+ "gold_executes": true,
51
+ "prediction_equivalent": null
52
+ },
53
+ {
54
+ "id": "13ac9d307d6b101b8705_en",
55
+ "backend": "mysql",
56
+ "operation": "gte",
57
+ "gold_executes": true,
58
+ "prediction_equivalent": null
59
+ },
60
+ {
61
+ "id": "467e53c90a42cd9935a3_en",
62
+ "backend": "mysql",
63
+ "operation": "lte",
64
+ "gold_executes": true,
65
+ "prediction_equivalent": null
66
+ },
67
+ {
68
+ "id": "e0b7adca29f0eb32fe2c_en",
69
+ "backend": "mysql",
70
+ "operation": "between",
71
+ "gold_executes": true,
72
+ "prediction_equivalent": null
73
+ },
74
+ {
75
+ "id": "1667f375dfed0ad934a4_en",
76
+ "backend": "mysql",
77
+ "operation": "and",
78
+ "gold_executes": true,
79
+ "prediction_equivalent": null
80
+ },
81
+ {
82
+ "id": "328b77dd66cdf8cabfd8_en",
83
+ "backend": "mysql",
84
+ "operation": "or",
85
+ "gold_executes": true,
86
+ "prediction_equivalent": null
87
+ },
88
+ {
89
+ "id": "5c1ca9682dbf9c4df2a1_en",
90
+ "backend": "supabase",
91
+ "operation": "null",
92
+ "gold_executes": true,
93
+ "prediction_equivalent": null
94
+ },
95
+ {
96
+ "id": "7dfb47d110d38ff48e06_en",
97
+ "backend": "mysql",
98
+ "operation": "not_null",
99
+ "gold_executes": true,
100
+ "prediction_equivalent": null
101
+ },
102
+ {
103
+ "id": "33d0ab3caa0fba0e3985_en",
104
+ "backend": "mysql",
105
+ "operation": "count",
106
+ "gold_executes": true,
107
+ "prediction_equivalent": null
108
+ },
109
+ {
110
+ "id": "ad6bf3f875b067153767_en",
111
+ "backend": "supabase",
112
+ "operation": "count_eq",
113
+ "gold_executes": true,
114
+ "prediction_equivalent": null
115
+ },
116
+ {
117
+ "id": "bc42ac714674eb7e9508_en",
118
+ "backend": "supabase",
119
+ "operation": "sum",
120
+ "gold_executes": true,
121
+ "prediction_equivalent": null
122
+ },
123
+ {
124
+ "id": "5815b9336617abb93d33_en",
125
+ "backend": "supabase",
126
+ "operation": "avg",
127
+ "gold_executes": true,
128
+ "prediction_equivalent": null
129
+ },
130
+ {
131
+ "id": "3487e6b7bf3881dd7e68_en",
132
+ "backend": "mysql",
133
+ "operation": "max",
134
+ "gold_executes": true,
135
+ "prediction_equivalent": null
136
+ },
137
+ {
138
+ "id": "f39ec09a8da50e72bdd5_en",
139
+ "backend": "supabase",
140
+ "operation": "min",
141
+ "gold_executes": true,
142
+ "prediction_equivalent": null
143
+ },
144
+ {
145
+ "id": "bc6f054aa3be632d1bce_en",
146
+ "backend": "mysql",
147
+ "operation": "distinct",
148
+ "gold_executes": true,
149
+ "prediction_equivalent": null
150
+ },
151
+ {
152
+ "id": "dae8c9c830c197ee8e74_en",
153
+ "backend": "mysql",
154
+ "operation": "sort_desc",
155
+ "gold_executes": true,
156
+ "prediction_equivalent": null
157
+ },
158
+ {
159
+ "id": "640719c646d2ad1c92e6_en",
160
+ "backend": "mysql",
161
+ "operation": "sort_asc",
162
+ "gold_executes": true,
163
+ "prediction_equivalent": null
164
+ },
165
+ {
166
+ "id": "dc2e72d9a61704c6679c_en",
167
+ "backend": "mysql",
168
+ "operation": "top",
169
+ "gold_executes": true,
170
+ "prediction_equivalent": null
171
+ },
172
+ {
173
+ "id": "9b0921e93df3d40ae856_en",
174
+ "backend": "supabase",
175
+ "operation": "bottom",
176
+ "gold_executes": true,
177
+ "prediction_equivalent": null
178
+ },
179
+ {
180
+ "id": "c23d51b5c96bb4b300bf_en",
181
+ "backend": "supabase",
182
+ "operation": "group_count",
183
+ "gold_executes": true,
184
+ "prediction_equivalent": null
185
+ },
186
+ {
187
+ "id": "dafbcd52face40a7b678_en",
188
+ "backend": "mysql",
189
+ "operation": "group_sum",
190
+ "gold_executes": true,
191
+ "prediction_equivalent": null
192
+ },
193
+ {
194
+ "id": "f551f3aa4afc6f91a2d5_en",
195
+ "backend": "supabase",
196
+ "operation": "having",
197
+ "gold_executes": true,
198
+ "prediction_equivalent": null
199
+ },
200
+ {
201
+ "id": "f9c2698db9e7dbe6ec8e_en",
202
+ "backend": "supabase",
203
+ "operation": "date_after",
204
+ "gold_executes": true,
205
+ "prediction_equivalent": null
206
+ },
207
+ {
208
+ "id": "6016d266fd2535bc4479_en",
209
+ "backend": "supabase",
210
+ "operation": "year",
211
+ "gold_executes": true,
212
+ "prediction_equivalent": null
213
+ },
214
+ {
215
+ "id": "ccbdc5b0dcc9fcc00608_en",
216
+ "backend": "supabase",
217
+ "operation": "month",
218
+ "gold_executes": true,
219
+ "prediction_equivalent": null
220
+ },
221
+ {
222
+ "id": "068560b98b4de1eee24e_en",
223
+ "backend": "supabase",
224
+ "operation": "contains",
225
+ "gold_executes": true,
226
+ "prediction_equivalent": null
227
+ },
228
+ {
229
+ "id": "7cf5c995d18de3fe3679_en",
230
+ "backend": "mysql",
231
+ "operation": "join",
232
+ "gold_executes": true,
233
+ "prediction_equivalent": null
234
+ },
235
+ {
236
+ "id": "f0a44c49f89e568f5a97_en",
237
+ "backend": "supabase",
238
+ "operation": "join_filter",
239
+ "gold_executes": true,
240
+ "prediction_equivalent": null
241
+ },
242
+ {
243
+ "id": "2d72fda52b91ee1560ab_en",
244
+ "backend": "mysql",
245
+ "operation": "all",
246
+ "gold_executes": true,
247
+ "prediction_equivalent": null
248
+ },
249
+ {
250
+ "id": "029cd7c058965ed14b05_en",
251
+ "backend": "mysql",
252
+ "operation": "eq",
253
+ "gold_executes": true,
254
+ "prediction_equivalent": null
255
+ },
256
+ {
257
+ "id": "327bced9ccce8adafb67_en",
258
+ "backend": "supabase",
259
+ "operation": "lt",
260
+ "gold_executes": true,
261
+ "prediction_equivalent": null
262
+ },
263
+ {
264
+ "id": "c5a56e24a5878c81791a_en",
265
+ "backend": "supabase",
266
+ "operation": "gte",
267
+ "gold_executes": true,
268
+ "prediction_equivalent": null
269
+ },
270
+ {
271
+ "id": "9925b01d3b059dd22a13_en",
272
+ "backend": "supabase",
273
+ "operation": "or",
274
+ "gold_executes": true,
275
+ "prediction_equivalent": null
276
+ },
277
+ {
278
+ "id": "5ec7a0dca8e2804dbca9_en",
279
+ "backend": "supabase",
280
+ "operation": "not_null",
281
+ "gold_executes": true,
282
+ "prediction_equivalent": null
283
+ },
284
+ {
285
+ "id": "8488c3423e53e10c7853_en",
286
+ "backend": "supabase",
287
+ "operation": "count",
288
+ "gold_executes": true,
289
+ "prediction_equivalent": null
290
+ },
291
+ {
292
+ "id": "7839648878bf9feda17b_en",
293
+ "backend": "mysql",
294
+ "operation": "count_eq",
295
+ "gold_executes": true,
296
+ "prediction_equivalent": null
297
+ },
298
+ {
299
+ "id": "e956931ef5531d79954c_en",
300
+ "backend": "mysql",
301
+ "operation": "avg",
302
+ "gold_executes": true,
303
+ "prediction_equivalent": null
304
+ },
305
+ {
306
+ "id": "d2ac91503b4c4b8c4bbf_en",
307
+ "backend": "supabase",
308
+ "operation": "max",
309
+ "gold_executes": true,
310
+ "prediction_equivalent": null
311
+ },
312
+ {
313
+ "id": "e27bab397ec7daf2a101_en",
314
+ "backend": "supabase",
315
+ "operation": "distinct",
316
+ "gold_executes": true,
317
+ "prediction_equivalent": null
318
+ },
319
+ {
320
+ "id": "9912a7207dd6e403b2d5_en",
321
+ "backend": "supabase",
322
+ "operation": "top",
323
+ "gold_executes": true,
324
+ "prediction_equivalent": null
325
+ },
326
+ {
327
+ "id": "90eda6200c21cebc9077_en",
328
+ "backend": "mysql",
329
+ "operation": "group_count",
330
+ "gold_executes": true,
331
+ "prediction_equivalent": null
332
+ },
333
+ {
334
+ "id": "fe5044da918260a617a9_en",
335
+ "backend": "supabase",
336
+ "operation": "group_sum",
337
+ "gold_executes": true,
338
+ "prediction_equivalent": null
339
+ },
340
+ {
341
+ "id": "2daba35926021b3697eb_en",
342
+ "backend": "mysql",
343
+ "operation": "date_after",
344
+ "gold_executes": true,
345
+ "prediction_equivalent": null
346
+ },
347
+ {
348
+ "id": "9992776e0fbabf4da80e_en",
349
+ "backend": "mysql",
350
+ "operation": "month",
351
+ "gold_executes": true,
352
+ "prediction_equivalent": null
353
+ },
354
+ {
355
+ "id": "b654c9f6e4c53883151c_en",
356
+ "backend": "supabase",
357
+ "operation": "join",
358
+ "gold_executes": true,
359
+ "prediction_equivalent": null
360
+ },
361
+ {
362
+ "id": "3cfa2682031af21eedd8_en",
363
+ "backend": "supabase",
364
+ "operation": "project",
365
+ "gold_executes": true,
366
+ "prediction_equivalent": null
367
+ },
368
+ {
369
+ "id": "403211bcb94202245467_en",
370
+ "backend": "mysql",
371
+ "operation": "project_eq",
372
+ "gold_executes": true,
373
+ "prediction_equivalent": null
374
+ },
375
+ {
376
+ "id": "9ef4d4f5d5bcf5858087_en",
377
+ "backend": "supabase",
378
+ "operation": "and",
379
+ "gold_executes": true,
380
+ "prediction_equivalent": null
381
+ },
382
+ {
383
+ "id": "8c437f27ac8f48915f9a_en",
384
+ "backend": "mysql",
385
+ "operation": "min",
386
+ "gold_executes": true,
387
+ "prediction_equivalent": null
388
+ },
389
+ {
390
+ "id": "4c485cb9781970855140_en",
391
+ "backend": "supabase",
392
+ "operation": "sort_desc",
393
+ "gold_executes": true,
394
+ "prediction_equivalent": null
395
+ },
396
+ {
397
+ "id": "0bdc9f428b0896d7e38a_en",
398
+ "backend": "supabase",
399
+ "operation": "sort_asc",
400
+ "gold_executes": true,
401
+ "prediction_equivalent": null
402
+ },
403
+ {
404
+ "id": "c4a83c9634139691ddde_en",
405
+ "backend": "mysql",
406
+ "operation": "having",
407
+ "gold_executes": true,
408
+ "prediction_equivalent": null
409
+ },
410
+ {
411
+ "id": "3b0a2346d3ae970242c1_en",
412
+ "backend": "mysql",
413
+ "operation": "year",
414
+ "gold_executes": true,
415
+ "prediction_equivalent": null
416
+ },
417
+ {
418
+ "id": "cd68dcf59fb97c84247d_en",
419
+ "backend": "mysql",
420
+ "operation": "contains",
421
+ "gold_executes": true,
422
+ "prediction_equivalent": null
423
+ },
424
+ {
425
+ "id": "6569be8d680d87bb283d_en",
426
+ "backend": "mysql",
427
+ "operation": "gt",
428
+ "gold_executes": true,
429
+ "prediction_equivalent": null
430
+ },
431
+ {
432
+ "id": "69aa7071e087609fac06_en",
433
+ "backend": "supabase",
434
+ "operation": "lte",
435
+ "gold_executes": true,
436
+ "prediction_equivalent": null
437
+ },
438
+ {
439
+ "id": "49dc5daf9217fe08b1c4_en",
440
+ "backend": "mysql",
441
+ "operation": "sum",
442
+ "gold_executes": true,
443
+ "prediction_equivalent": null
444
+ },
445
+ {
446
+ "id": "f637ccd41642ab190d04_en",
447
+ "backend": "mysql",
448
+ "operation": "null",
449
+ "gold_executes": true,
450
+ "prediction_equivalent": null
451
+ },
452
+ {
453
+ "id": "0aec7748ac00fd2195f1_en",
454
+ "backend": "mysql",
455
+ "operation": "join_filter",
456
+ "gold_executes": true,
457
+ "prediction_equivalent": null
458
+ },
459
+ {
460
+ "id": "56594767710f98b9b347_en",
461
+ "backend": "supabase",
462
+ "operation": "between",
463
+ "gold_executes": true,
464
+ "prediction_equivalent": null
465
+ },
466
+ {
467
+ "id": "eb4c2f1cc33712f0b82e_en",
468
+ "backend": "mysql",
469
+ "operation": "bottom",
470
+ "gold_executes": true,
471
+ "prediction_equivalent": null
472
+ }
473
+ ]
474
+ }
provenance/selection.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "checkpoint": "/workspace/tinyquery/candidates/step-25715/model.safetensors",
3
+ "step": 25715,
4
+ "checkpoint_sha256": "9489b5cde69c11f64b3e7031182e8248aa83790f1ad4aeefbf99a4e5e152e692",
5
+ "development_scores": {
6
+ "validation": {
7
+ "correct": 1174,
8
+ "total": 1200,
9
+ "rate": 0.9783333333333334
10
+ },
11
+ "development": {
12
+ "correct": 188,
13
+ "total": 192,
14
+ "rate": 0.9791666666666666
15
+ }
16
+ },
17
+ "selection_score": 0.97875,
18
+ "rule": "Equal mean of full validation and development task success. Test/manual excluded."
19
+ }
provenance/teacher-runtime.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "teacher": "Qwen/Qwen3.8-27B-FP8",
3
+ "revision": "017b9c7af6b5689d5dd426a76e0bc077eb5ca20a",
4
+ "server": {
5
+ "vllm": "0.28.0",
6
+ "hardware": "RTX PRO 6000 Blackwell Max-Q Workstation Edition, 96 GB",
7
+ "context": 8192,
8
+ "max_num_seqs": 32,
9
+ "gpu_memory_utilization": 0.85,
10
+ "language_model_only": true,
11
+ "fp8_backend": "CUTLASS"
12
+ },
13
+ "phases": [
14
+ {
15
+ "name": "language_templates",
16
+ "requests": 45,
17
+ "concurrency": 16,
18
+ "temperature": 0.8,
19
+ "top_p": 0.95,
20
+ "top_k": 20,
21
+ "thinking": false,
22
+ "mtp": false,
23
+ "max_tokens": 4096
24
+ },
25
+ {
26
+ "name": "direct_paraphrases",
27
+ "requests": 1500,
28
+ "concurrency": 32,
29
+ "temperature": 0.7,
30
+ "top_p": 0.95,
31
+ "top_k": 20,
32
+ "thinking": false,
33
+ "mtp": false,
34
+ "max_tokens": 500
35
+ },
36
+ {
37
+ "name": "round_trip_verification",
38
+ "requests": 1500,
39
+ "temperature": 0,
40
+ "thinking": false,
41
+ "mtp": true,
42
+ "num_speculative_tokens": 3,
43
+ "max_tokens": 700
44
+ },
45
+ {
46
+ "name": "training_template_semantic_audit",
47
+ "requests": 330,
48
+ "template_instances": 1313,
49
+ "concurrency": 32,
50
+ "temperature": 0,
51
+ "thinking": false,
52
+ "mtp": true,
53
+ "num_speculative_tokens": 3,
54
+ "max_tokens": 700,
55
+ "accepted_instances": 1276,
56
+ "flagged_instances": 37
57
+ }
58
+ ],
59
+ "matched_benchmark": {
60
+ "concurrency": 32,
61
+ "mtp_off_tps": [
62
+ 688.80098,
63
+ 693.58296
64
+ ],
65
+ "mtp_3_tps": [
66
+ 926.42637,
67
+ 935.17359
68
+ ],
69
+ "warmup": "one full request round per configuration before measured rounds",
70
+ "measured_rounds_per_configuration": 2,
71
+ "requests_per_round": 64,
72
+ "valid_json_per_configuration": 128,
73
+ "truncated_per_configuration": 0,
74
+ "temperature": 0.7,
75
+ "top_p": 0.8,
76
+ "top_k": 20,
77
+ "presence_penalty": 0,
78
+ "repetition_penalty": 1.0
79
+ },
80
+ "scope": "MTP speeds inference; it does not certify semantic correctness. Initial template/paraphrase generation preceded MTP; verification used MTP. No claim of a globally optimal configuration."
81
+ }
provenance/template-filter.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "audit_jobs": 330,
3
+ "accepted_template_instances": 1276,
4
+ "flagged_template_variants": 37,
5
+ "excluded_training_rows": 6778,
6
+ "remaining_training_rows": 320115,
7
+ "exclusions": {
8
+ "bottom/hi/2": 215,
9
+ "contains/noisy_en/9": 196,
10
+ "contains/hi/4": 145,
11
+ "contains/hinglish/7": 195,
12
+ "bottom/noisy_en/2": 208,
13
+ "contains/en/9": 185,
14
+ "contains/hi/7": 168,
15
+ "contains/hinglish/8": 202,
16
+ "lt/hinglish/4": 144,
17
+ "not_null/hi/5": 196,
18
+ "top/en/3": 216,
19
+ "bottom/en/2": 179,
20
+ "contains/noisy_en/1": 164,
21
+ "contains/hi/2": 221,
22
+ "lt/en/4": 190,
23
+ "not_null/hinglish/5": 164,
24
+ "contains/en/1": 200,
25
+ "contains/hi/9": 219,
26
+ "contains/hinglish/2": 168,
27
+ "contains/en/7": 187,
28
+ "contains/hinglish/9": 180,
29
+ "bottom/hinglish/2": 172,
30
+ "contains/en/2": 213,
31
+ "contains/noisy_en/8": 217,
32
+ "contains/hi/1": 147,
33
+ "contains/en/4": 219,
34
+ "contains/noisy_en/2": 176,
35
+ "max/en/9": 151,
36
+ "lt/en/5": 161,
37
+ "contains/hi/8": 175,
38
+ "not_null/en/5": 172,
39
+ "contains/noisy_en/4": 228,
40
+ "contains/en/8": 122,
41
+ "contains/hinglish/1": 168,
42
+ "contains/noisy_en/7": 189,
43
+ "contains/hinglish/4": 189,
44
+ "lt/hi/4": 137
45
+ },
46
+ "policy": "Conservative exclusion after SQL round-trip disagreement; disagreement alone does not prove the teacher was correct. Validation, test, manual, direct verified paraphrases and separately authored contrasts remain unchanged.",
47
+ "limitation": "Earlier curriculum stages trained on these rows before the audit; this filtering does not undo earlier exposure."
48
+ }
requirements.txt ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # Tested with PyTorch 2.13.0 on CUDA and 2.14.0 on macOS.
2
+ torch>=2.13,<3
3
+ numpy>=2.2,<3
4
+ tokenizers==0.22.2
5
+ safetensors>=0.8,<1
6
+ sqlglot==30.18.0
7
+ jsonschema>=4.26,<5
8
+ huggingface-hub>=1.28,<2
runtime/README.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Runtime and reproducibility
2
+
3
+ The student runs locally on Apple Silicon MPS, CUDA, or CPU. Use Python 3.12 and install `requirements-mac.txt` (or the root `requirements.txt`). `mac-environment.lock.txt` records the actual local environment. CUDA training and teacher requirements belong in separate GPU environments; vLLM FP8 teacher serving is not a Mac runtime.
4
+
5
+ `serve-teacher.sh` reconstructs the recorded working launch settings. The exact downloaded teacher revision is pinned in `download-teacher.py`. CUDA training used PyTorch 2.13.0+cu130; use the appropriate official CUDA wheel index. The teacher used vLLM 0.28.0 and Transformers 5.15.1. Do not install the CUDA environment into the Mac inference environment.
6
+
7
+ The published dataset freezes the final corpus; original templates, prompts, verification records and programmatic generators are included in the companion dataset and source package. Training evolved through seven curricula; a fresh run on the final corpus is a new experiment, not a bitwise replay. Earlier training encountered 6,778 rows later filtered out. The released weights are selected by validation and development success, not the last trainer checkpoint. The final optimizer state and some raw remote logs could not be retrieved after the rented SSH endpoint refused connections.
8
+
9
+ Example fresh training from the published final corpus:
10
+
11
+ ```sh
12
+ python -m tinyquery.prepare --data path/to/extracted-jsonl-splits
13
+ python -m tinyquery.train --data path/to/extracted-jsonl-splits --out runs/new --copy-dim 128 --minutes 120
14
+ ```
15
+
16
+ For the exact dataset tokenizer, pass the existing tokenizer through the prepare script's documented reuse option (`python -m tinyquery.prepare --help`). A new randomly initialized run can obtain different results.
runtime/download-teacher.py ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ from huggingface_hub import snapshot_download
2
+ snapshot_download("Qwen/Qwen3.8-27B-FP8", revision="017b9c7af6b5689d5dd426a76e0bc077eb5ca20a", local_dir="teacher/Qwen3.8-27B-FP8", max_workers=8)
runtime/mac-environment.lock.txt ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ anyio==4.15.1
2
+ attrs==26.1.0
3
+ certifi==2026.7.22
4
+ click==8.5.0
5
+ filelock==3.32.6
6
+ fsspec==2026.7.0
7
+ h11==0.16.0
8
+ hf-xet==1.6.0
9
+ httpcore==1.0.9
10
+ httpx==0.28.1
11
+ huggingface-hub==1.30.0
12
+ idna==3.19
13
+ jinja2==3.1.6
14
+ jsonschema==4.26.0
15
+ jsonschema-specifications==2025.9.1
16
+ markupsafe==3.0.3
17
+ mpmath==1.3.0
18
+ networkx==3.6.1
19
+ numpy==2.5.3
20
+ packaging==26.3
21
+ pyarrow==25.0.1
22
+ pyyaml==6.0.3
23
+ referencing==0.37.0
24
+ rpds-py==2026.6.3
25
+ safetensors==0.8.0
26
+ setuptools==84.0.0
27
+ sqlglot==30.18.0
28
+ sympy==1.14.0
29
+ tokenizers==0.23.2
30
+ torch==2.14.0
31
+ tqdm==4.70.0
32
+ typing-extensions==4.16.0
runtime/requirements-mac.txt ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # Tested with PyTorch 2.13.0 on CUDA and 2.14.0 on macOS.
2
+ torch>=2.13,<3
3
+ numpy>=2.2,<3
4
+ tokenizers==0.22.2
5
+ safetensors>=0.8,<1
6
+ sqlglot==30.18.0
7
+ jsonschema>=4.26,<5
8
+ huggingface-hub>=1.28,<2
runtime/requirements-teacher-cuda.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ vllm==0.28.0
2
+ torch==2.13.0
3
+ transformers==5.15.1
4
+ huggingface-hub==1.28.0
runtime/requirements-training-cuda.txt ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Training environment used on the rented CUDA instance; torch includes its CUDA runtime.
2
+ torch==2.13.0
3
+ numpy==2.2.6
4
+ tokenizers==0.22.2
5
+ safetensors==0.8.0
6
+ sqlglot==30.18.0
7
+ jsonschema==4.26.0
8
+ huggingface-hub==1.28.0
9
+ # Only needed for native database evaluation:
10
+ psycopg[binary]==3.3.5
11
+ pymysql==1.2.0
runtime/serve-teacher.sh ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ # Reconstructed from recorded working settings; requires the rented CUDA GPU.
4
+ # Supply a local pinned snapshot path, or download the recorded revision first.
5
+ : "${TEACHER_MODEL_PATH:?Set TEACHER_MODEL_PATH to the downloaded Qwen snapshot}"
6
+ exec vllm serve "$TEACHER_MODEL_PATH" \
7
+ --served-model-name Qwen/Qwen3.8-27B-FP8 \
8
+ --host 127.0.0.1 --port 18000 --tensor-parallel-size 1 \
9
+ --language-model-only --max-model-len 8192 --max-num-seqs 32 \
10
+ --gpu-memory-utilization 0.85 --reasoning-parser qwen3 \
11
+ --compilation-config '{"cudagraph_capture_sizes":[1,2,4,8,16,32]}' \
12
+ --speculative-config '{"method":"mtp","num_speculative_tokens":3}'
split-audit.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "splits": {
3
+ "train": {
4
+ "rows": 347376,
5
+ "unique_prompts": 347376,
6
+ "scenario_groups": 25145,
7
+ "unique_ids": 347376
8
+ },
9
+ "validation": {
10
+ "rows": 1200,
11
+ "unique_prompts": 1200,
12
+ "scenario_groups": 300,
13
+ "unique_ids": 1200
14
+ },
15
+ "test": {
16
+ "rows": 1196,
17
+ "unique_prompts": 1196,
18
+ "scenario_groups": 299,
19
+ "unique_ids": 1196
20
+ },
21
+ "manual": {
22
+ "rows": 160,
23
+ "unique_prompts": 160,
24
+ "scenario_groups": 40,
25
+ "unique_ids": 160
26
+ },
27
+ "development": {
28
+ "rows": 192,
29
+ "unique_prompts": 192,
30
+ "scenario_groups": 140,
31
+ "unique_ids": 192
32
+ }
33
+ },
34
+ "overlap": {
35
+ "train-validation": {
36
+ "prompts": 0,
37
+ "scenarios": 0
38
+ },
39
+ "train-test": {
40
+ "prompts": 0,
41
+ "scenarios": 0
42
+ },
43
+ "train-manual": {
44
+ "prompts": 0,
45
+ "scenarios": 0
46
+ },
47
+ "train-development": {
48
+ "prompts": 0,
49
+ "scenarios": 0
50
+ },
51
+ "validation-test": {
52
+ "prompts": 0,
53
+ "scenarios": 0
54
+ },
55
+ "validation-manual": {
56
+ "prompts": 0,
57
+ "scenarios": 0
58
+ },
59
+ "validation-development": {
60
+ "prompts": 0,
61
+ "scenarios": 140
62
+ },
63
+ "test-manual": {
64
+ "prompts": 0,
65
+ "scenarios": 40
66
+ },
67
+ "test-development": {
68
+ "prompts": 0,
69
+ "scenarios": 0
70
+ },
71
+ "manual-development": {
72
+ "prompts": 0,
73
+ "scenarios": 0
74
+ }
75
+ }
76
+ }
tinyquery/__init__.py ADDED
@@ -0,0 +1 @@
 
 
1
+ """TinyQuery: an explicitly bounded tool-calling model trained from scratch."""
tinyquery/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (262 Bytes). View file
 
tinyquery/__pycache__/chat.cpython-312.pyc ADDED
Binary file (6.7 kB). View file
 
tinyquery/__pycache__/data.cpython-312.pyc ADDED
Binary file (25 kB). View file
 
tinyquery/__pycache__/evaluate.cpython-312.pyc ADDED
Binary file (16.3 kB). View file
 
tinyquery/__pycache__/model.cpython-312.pyc ADDED
Binary file (19.7 kB). View file
 
tinyquery/__pycache__/recipes.cpython-312.pyc ADDED
Binary file (4.09 kB). View file
 
tinyquery/audit_data.py ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Audit every reference action and execute each distinct SQL case on two fixtures."""
2
+ import argparse
3
+ import hashlib
4
+ import json
5
+ import sqlite3
6
+ from pathlib import Path
7
+ import time
8
+ from jsonschema import Draft202012Validator
9
+ from tinyquery.data import SQL_OPS,compact,serialize,validate_sql,sqlite_sql
10
+ from tinyquery.evaluate import check_action
11
+
12
+
13
+ def main():
14
+ p=argparse.ArgumentParser();p.add_argument('--data',required=True);p.add_argument('--out',required=True)
15
+ args=p.parse_args();start=time.time();ids=set();prompts=set();queries=set();context_queries=set();validators={};errors=[];count=0;sql_rows=0
16
+ for line in Path(args.data).open():
17
+ row=json.loads(line);count+=1
18
+ try:
19
+ assert row['id'] not in ids,'Duplicate ID'
20
+ ids.add(row['id']);fingerprint=hashlib.sha256(row['prompt'].encode()).hexdigest()
21
+ assert fingerprint not in prompts,'Duplicate prompt'
22
+ prompts.add(fingerprint)
23
+ assert row['prompt']==serialize(row['context'],row['question']),'Prompt serialization differs'
24
+ assert row['response']==compact(row['target']),'Response serialization differs'
25
+ action=row['target']
26
+ if action['action']=='call':
27
+ assert set(action)=={'action','name','arguments'}
28
+ tool=next(t for t in row['context']['tools'] if t['name']==action['name'])
29
+ schema=compact(tool['inputSchema'])
30
+ if schema not in validators:validators[schema]=Draft202012Validator(tool['inputSchema'])
31
+ validators[schema].validate(action['arguments'])
32
+ else:check_action(action,row['context'])
33
+ if row['operation'] in SQL_OPS:
34
+ sql_rows+=1;a=action['arguments'];sql=a.get('sql',a.get('query'))
35
+ context_key=hashlib.sha256(compact([row['backend'],row['context']['schema'],sql]).encode()).hexdigest()
36
+ if context_key not in context_queries:
37
+ import sqlglot
38
+ db=sqlite3.connect(':memory:');db.create_function('YEAR',1,lambda x:0);db.create_function('MONTH',1,lambda x:0)
39
+ try:
40
+ for ddl in row['context']['schema']:db.execute(ddl)
41
+ db.execute(sqlite_sql(sqlglot.parse_one(sql,read='postgres' if row['backend']=='supabase' else 'mysql')))
42
+ finally:db.close()
43
+ context_queries.add(context_key)
44
+ key=hashlib.sha256(compact([row['backend'],row['slots'],sql]).encode()).hexdigest()
45
+ if key not in queries:
46
+ validate_sql(sql,row['backend'],row['slots']);queries.add(key)
47
+ except Exception as exc:
48
+ errors.append({'id':row['id'],'error':type(exc).__name__+': '+str(exc)})
49
+ if len(errors)>=20:break
50
+ if count%10000==0:print(json.dumps({'rows':count,'unique_sql':len(queries),'seconds':time.time()-start}),flush=True)
51
+ report={'rows':count,'unique_ids':len(ids),'unique_prompts':len(prompts),'sql_rows':sql_rows,'unique_sql_cases':len(queries),
52
+ 'distinct_context_sql_compilations':len(context_queries),
53
+ 'fixtures_per_sql_case':2,'sql_engine':'SQLite after dialect parsing/adaptation; native coverage reported separately',
54
+ 'seconds':time.time()-start,'errors':errors,'passed':not errors}
55
+ Path(args.out).write_text(json.dumps(report,indent=2));print(json.dumps(report),flush=True)
56
+ if errors:raise SystemExit(1)
57
+
58
+
59
+ if __name__=='__main__':main()
tinyquery/average_checkpoints.py ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Average compatible checkpoints from the same randomly initialized training lineage."""
2
+ import argparse
3
+ import json
4
+ from pathlib import Path
5
+ import torch
6
+ from safetensors.torch import load_file,save_file
7
+ from tinyquery.prepare import file_sha256
8
+
9
+
10
+ def main():
11
+ p=argparse.ArgumentParser();p.add_argument('--checkpoints',nargs='+',required=True);p.add_argument('--weights',nargs='+',type=float)
12
+ p.add_argument('--out',required=True);args=p.parse_args();weights=args.weights or [1]*len(args.checkpoints)
13
+ assert len(weights)==len(args.checkpoints) and all(w>=0 for w in weights) and sum(weights)>0
14
+ weights=[w/sum(weights) for w in weights];total={};config=None;sources=[]
15
+ for name,weight in zip(args.checkpoints,weights):
16
+ path=Path(name);c=json.loads((path.parent/'config.json').read_text());assert config is None or config==c;config=c
17
+ info=json.loads((path.parent/'checkpoint-info.json').read_text());assert info['random_initialization']
18
+ state=load_file(str(path));assert not total or total.keys()==state.keys()
19
+ for key,value in state.items():
20
+ if key not in total:total[key]=value.float()*weight
21
+ else:total[key].add_(value.float(),alpha=weight)
22
+ sources.append({'checkpoint':str(path),'sha256':file_sha256(path),'weight':weight,'info':info});del state
23
+ dest=Path(args.out);dest.mkdir(parents=True,exist_ok=True)
24
+ save_file({k:v.to(torch.bfloat16).contiguous() for k,v in total.items()},str(dest/'model.safetensors'),
25
+ metadata={'method':'weighted_parameter_average','random_initialization':'true'})
26
+ (dest/'config.json').write_text(json.dumps(config,indent=2))
27
+ info={'method':'weighted_parameter_average','sources':sources,'random_initialization':True,
28
+ 'step':max(s['info']['step'] for s in sources),'step_interpretation':'Latest source step; these are averaged weights, not that raw checkpoint.'}
29
+ for key in ['processed_tokens','response_tokens','training_seconds']:info[key]=max(s['info'][key] for s in sources)
30
+ (dest/'checkpoint-info.json').write_text(json.dumps(info,indent=2));print(json.dumps({'out':str(dest),'sources':[(s['info']['step'],s['weight']) for s in sources]}))
31
+
32
+
33
+ if __name__=='__main__':main()
tinyquery/baseline.py ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Transparent TF-IDF nearest-question baseline; copies the retrieved action unchanged."""
2
+ import argparse
3
+ from collections import Counter,defaultdict
4
+ import json
5
+ import math
6
+ from pathlib import Path
7
+ import re
8
+ import time
9
+ import numpy as np
10
+ from tinyquery.evaluate import score,aggregate
11
+
12
+
13
+ def bind_context(text,source,destination):
14
+ """Bind by tool descriptions and DDL positions, using no expected answer or slots."""
15
+ import sqlglot
16
+ from sqlglot import exp
17
+ action=json.loads(text)
18
+ if action.get('action')!='call':return text
19
+ old=next(t for t in source['tools'] if t['name']==action['name'])
20
+ normalize=lambda s:s.replace('PostgreSQL','SQL').replace('MySQL','SQL')
21
+ candidates=[t for t in destination['tools'] if normalize(t['description'])==normalize(old['description'])]
22
+ if not candidates:return text
23
+ tool=candidates[0];props=tool['inputSchema']['properties'];args=dict(action['arguments'])
24
+ sqlkey=next((k for k in ['sql','query'] if isinstance(args.get(k),str) and args[k].startswith('SELECT ')),None)
25
+ if sqlkey:
26
+ targetkey=next((k for k in ['sql','query'] if k in props),sqlkey)
27
+ tables={};columns={}
28
+ for old_ddl,new_ddl in zip(source['schema'],destination['schema']):
29
+ a=sqlglot.parse_one(old_ddl).this;b=sqlglot.parse_one(new_ddl).this
30
+ tables[a.this.name]=b.this.name
31
+ for c,d in zip(a.expressions,b.expressions):
32
+ if isinstance(c,exp.ColumnDef) and isinstance(d,exp.ColumnDef):columns[c.name]=d.name
33
+ query=sqlglot.parse_one(args.pop(sqlkey),read='postgres' if source['backend']=='supabase' else 'mysql')
34
+ def rename(node):
35
+ if isinstance(node,exp.Table) and node.name in tables:node.set('this',exp.to_identifier(tables[node.name]))
36
+ if isinstance(node,exp.Column):
37
+ if node.name in columns:node.set('this',exp.to_identifier(columns[node.name]))
38
+ if node.table in tables:node.set('table',exp.to_identifier(tables[node.table]))
39
+ return node
40
+ args[targetkey]=query.transform(rename).sql(dialect='postgres' if destination['backend']=='supabase' else 'mysql')+';'
41
+ args={k:v for k,v in args.items() if k in props}
42
+ if 'project_id' in props:args['project_id']=destination['project_id']
43
+ return json.dumps({'action':'call','name':tool['name'],'arguments':args},ensure_ascii=False,separators=(',',':'))
44
+
45
+
46
+ def words(text):
47
+ return re.findall(r'[^\W_]+|_',text.lower(),re.UNICODE)
48
+
49
+
50
+ def main():
51
+ p=argparse.ArgumentParser(); p.add_argument('--train',required=True); p.add_argument('--data',required=True)
52
+ p.add_argument('--out',required=True);p.add_argument('--bind-context',action='store_true')
53
+ args=p.parse_args(); start=time.time()
54
+ training=[]; seen=set(); counts=[]; df=Counter()
55
+ for line in Path(args.train).open():
56
+ row=json.loads(line)
57
+ if row['question'] in seen: continue
58
+ seen.add(row['question']); terms=Counter(words(row['question']))
59
+ training.append((row['id'],row['response'],row['context'] if args.bind_context else None)); counts.append(terms); df.update(terms.keys())
60
+ n=len(training); idf={word:math.log((1+n)/(1+freq))+1 for word,freq in df.items()}
61
+ postings=defaultdict(list)
62
+ for i,terms in enumerate(counts):
63
+ weighted={word:(1+math.log(freq))*idf[word] for word,freq in terms.items()}
64
+ norm=math.sqrt(sum(v*v for v in weighted.values())) or 1
65
+ for word,value in weighted.items(): postings[word].append((i,value/norm))
66
+ postings={word:(np.array([i for i,_ in pairs]),np.array([v for _,v in pairs],dtype=np.float32))
67
+ for word,pairs in postings.items()}
68
+ results=[]; groups=defaultdict(list); out=Path(args.out); out.parent.mkdir(parents=True,exist_ok=True)
69
+ with out.open('w') as stream:
70
+ for line in Path(args.data).open():
71
+ row=json.loads(line); similarities=np.zeros(n,dtype=np.float32)
72
+ for word,freq in Counter(words(row['question'])).items():
73
+ if word in postings:
74
+ indices,weights=postings[word]; similarities[indices]+=(1+math.log(freq))*idf[word]*weights
75
+ index=int(similarities.argmax()); source,text,context=training[index]
76
+ if args.bind_context:
77
+ try:text=bind_context(text,context,row['context'])
78
+ except (ValueError,KeyError,StopIteration,AttributeError):pass
79
+ metrics=score(row,text)
80
+ results.append(metrics)
81
+ for field in ['language','backend','operation']: groups[field+':'+row[field]].append(metrics)
82
+ stream.write(json.dumps({'id':row['id'],'retrieved_id':source,'output':text,'metrics':metrics},ensure_ascii=False)+'\n')
83
+ report={'baseline':'TF-IDF nearest training question; copy action unchanged, no tool/schema adaptation',
84
+ 'training_questions':n,'examples':len(results),'seconds':time.time()-start,'metrics':aggregate(results),
85
+ 'groups':{key:aggregate(value) for key,value in groups.items()}}
86
+ if args.bind_context:report['baseline']='TF-IDF nearest question plus tool-description and DDL-position binding; no expected answer or gold slots used'
87
+ out.with_suffix('.summary.json').write_text(json.dumps(report,indent=2)); print(json.dumps(report['metrics']))
88
+
89
+
90
+ if __name__=='__main__': main()
tinyquery/chat.py ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Stream the student's raw JSON response from a checkpoint; optionally render an MCP request."""
2
+ import argparse
3
+ import json
4
+ import sys
5
+ import time
6
+ from pathlib import Path
7
+ import torch
8
+ from tokenizers import Tokenizer,decoders
9
+ from tinyquery.data import serialize,make_tools
10
+ from tinyquery.evaluate import load_model,check_action,mcp_request,parse_action
11
+
12
+
13
+ def default_context(backend):
14
+ import random
15
+ tools,_,_,_=make_tools(backend,random.Random(4),'train','demo')
16
+ return {'backend':backend,'project_id':'demo',
17
+ 'schema':['CREATE TABLE customers (id INTEGER PRIMARY KEY, name TEXT, city TEXT, amount REAL);'],
18
+ 'tools':tools,'policy':'Read-only database access. Use provided tools. Ask when required information is missing.'}
19
+
20
+
21
+ def stream_response(model,tokenizer,prompt,max_tokens=160,stats=None):
22
+ ids=tokenizer.encode(prompt).ids
23
+ if len(ids)+max_tokens>model.config.context: raise ValueError('Prompt plus output budget exceeds model context')
24
+ device=next(model.parameters()).device; tokens=torch.tensor([ids],device=device)
25
+ past=None; decoder=decoders.DecodeStream(skip_special_tokens=True)
26
+ generated=[]; emitted='';start=time.perf_counter();first_token=None
27
+ with torch.inference_mode():
28
+ for _ in range(max_tokens):
29
+ logits,past,_=model(tokens,past=past,use_cache=True,last_only=True)
30
+ token=int(logits[0,-1].argmax()); generated.append(token)
31
+ if first_token is None:first_token=time.perf_counter()-start
32
+ text=decoder.step(tokenizer,token)
33
+ if text: emitted+=text; yield text
34
+ if token==tokenizer.token_to_id('<|end|>'): break
35
+ tokens=torch.tensor([[token]],device=device)
36
+ full=tokenizer.decode(generated,skip_special_tokens=True)
37
+ if full.startswith(emitted) and len(full)>len(emitted): yield full[len(emitted):]
38
+ if stats is not None:
39
+ seconds=time.perf_counter()-start
40
+ stats.update(generated_tokens=len(generated),seconds=seconds,tokens_per_second=len(generated)/seconds,
41
+ first_token_seconds=first_token,device=str(device),includes_model_loading=False)
42
+
43
+
44
+ def main():
45
+ p=argparse.ArgumentParser(); p.add_argument('question'); p.add_argument('--checkpoint',required=True)
46
+ p.add_argument('--tokenizer'); p.add_argument('--context',help='JSON file with backend, schema and MCP-style tools')
47
+ p.add_argument('--backend',choices=['mysql','supabase'],default='supabase')
48
+ p.add_argument('--tokens',type=int,default=160); p.add_argument('--mcp',action='store_true')
49
+ p.add_argument('--stats',action='store_true',help='Print measured generation speed to stderr after streaming')
50
+ args=p.parse_args(); device='cuda' if torch.cuda.is_available() else ('mps' if torch.backends.mps.is_available() else 'cpu')
51
+ torch.set_num_threads(4)
52
+ tokenizer=Tokenizer.from_file(args.tokenizer or str(Path(args.checkpoint).parent/'tokenizer.json'))
53
+ model=load_model(args.checkpoint,device)
54
+ context=json.loads(Path(args.context).read_text()) if args.context else default_context(args.backend)
55
+ answer='';stats={}
56
+ for text in stream_response(model,tokenizer,serialize(context,args.question),args.tokens,stats):
57
+ print(text,end='',flush=True); answer+=text
58
+ print(flush=True)
59
+ if args.stats:print(json.dumps(stats),file=sys.stderr)
60
+ try:
61
+ action=check_action(parse_action(answer),context)
62
+ if args.mcp and action['action']=='call': print(json.dumps(mcp_request(action,context),ensure_ascii=False,indent=2))
63
+ except Exception as exc:
64
+ print('Output validation failed:',str(exc),file=sys.stderr)
65
+ raise SystemExit(1)
66
+
67
+
68
+ if __name__=='__main__': main()
tinyquery/checkpoint_eval.py ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Freeze an owned training checkpoint and evaluate only development splits."""
2
+ import argparse
3
+ import json
4
+ import os
5
+ from pathlib import Path
6
+ import subprocess
7
+ import sys
8
+ import torch
9
+ from safetensors.torch import save_file
10
+
11
+
12
+ def main():
13
+ p=argparse.ArgumentParser();p.add_argument('--checkpoint',required=True);p.add_argument('--data',required=True)
14
+ p.add_argument('--out',required=True);args=p.parse_args();data=Path(args.data)
15
+ r=torch.load(args.checkpoint,map_location='cpu',weights_only=False)
16
+ dest=Path(args.out)/('step-'+str(r['step']));dest.mkdir(parents=True,exist_ok=True)
17
+ if (dest/'selection.json').exists():print((dest/'selection.json').read_text());return
18
+ save_file({k:v.to(torch.bfloat16).contiguous() for k,v in r['model'].items()},str(dest/'model.safetensors'),
19
+ metadata={'step':str(r['step']),'random_initialization':'true'})
20
+ (dest/'config.json').write_text(json.dumps(r['config'],indent=2))
21
+ info={k:r[k] for k in ['step','processed_tokens','response_tokens','training_seconds','random_initialization']}
22
+ (dest/'checkpoint-info.json').write_text(json.dumps(info,indent=2));del r
23
+ print(json.dumps({'frozen':str(dest),'step':info['step']}),flush=True);scores={};digest=None
24
+ for split in ['validation','development']:
25
+ if not (data/(split+'.jsonl')).exists():continue
26
+ with (dest/(split+'.log')).open('w') as log:
27
+ subprocess.run([sys.executable,'-u','-m','tinyquery.evaluate','--checkpoint',str(dest/'model.safetensors'),
28
+ '--tokenizer',str(data/'tokenizer.json'),'--data',str(data/(split+'.jsonl')),
29
+ '--out',str(dest/(split+'.jsonl'))],stdout=log,stderr=subprocess.STDOUT,check=True)
30
+ summary=json.loads((dest/(split+'.summary.json')).read_text());scores[split]=summary['metrics']['success']
31
+ digest=summary['checkpoint_sha256'];print(json.dumps({'split':split,'metrics':summary['metrics']}),flush=True)
32
+ selection={'checkpoint':str(dest/'model.safetensors'),'step':info['step'],'checkpoint_sha256':digest,
33
+ 'development_scores':scores,'selection_score':sum(v['rate'] for v in scores.values())/len(scores),
34
+ 'rule':'Equal mean of full validation and development task success. Test/manual excluded.'}
35
+ (dest/'selection.json').write_text(json.dumps(selection,indent=2));print(json.dumps(selection),flush=True)
36
+
37
+
38
+ if __name__=='__main__':main()
tinyquery/concrete.py ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Directly paraphrase concrete training scenarios, keeping the original reference action."""
2
+ import argparse
3
+ import concurrent.futures
4
+ import json
5
+ import random
6
+ import re
7
+ import time
8
+ import urllib.request
9
+ from pathlib import Path
10
+ from tinyquery.data import compact,serialize
11
+ from tinyquery.recipes import LANGUAGES
12
+
13
+
14
+ def paraphrase(row,base,seed):
15
+ task={'schema':row['context']['schema'],'backend':row['backend'],'reference_request':row['question'],
16
+ 'reference_action':row['target']}
17
+ prompt=('Write one natural user request in each of four styles that has exactly the reference meaning. '
18
+ 'Use conversational phrasing, not instructions about writing SQL. Keep every numeric bound, '
19
+ 'literal value, selected field, sorting and limit unchanged. Do not add a new condition. '
20
+ 'You may use ordinary English/Hindi words for obvious schema fields, but preserve database '
21
+ 'literal values exactly. Output JSON keys en, noisy_en, hi, hinglish with string values. '
22
+ 'hi must be Devanagari Hindi, hinglish Romanized Hindi, noisy_en imperfect English. Task: '+compact(task))
23
+ payload={'model':'Qwen/Qwen3.8-27B-FP8','messages':[{'role':'user','content':prompt}],
24
+ 'max_tokens':500,'temperature':.7,'seed':seed,'response_format':{'type':'json_object'},
25
+ 'chat_template_kwargs':{'enable_thinking':False}}
26
+ request=urllib.request.Request(base+'/chat/completions',data=compact(payload).encode(),headers={'Content-Type':'application/json'})
27
+ with urllib.request.urlopen(request,timeout=180) as response: result=json.load(response)
28
+ parsed=json.loads(result['choices'][0]['message']['content'])
29
+ accepted=[]
30
+ for lang in LANGUAGES:
31
+ question=parsed.get(lang)
32
+ if not isinstance(question,str) or not 5<len(question)<900 or '{' in question: continue
33
+ if lang=='hi' and not re.search('[\u0900-\u097f]',question): continue
34
+ if re.search('[\u0600-\u06ff]',question): continue
35
+ # Reject changed numeric bounds and quoted database literals in constrained SQL recipes.
36
+ source_numbers=set(re.findall(r'(?<![a-zA-Z_])\d+(?:\.\d+)?',row['question']))
37
+ output_numbers=set(re.findall(r'(?<![a-zA-Z_])\d+(?:\.\d+)?',question))
38
+ if source_numbers!=output_numbers: continue
39
+ required={'eq':['value'],'project_eq':['value'],'and':['value'],'or':['value','other'],
40
+ 'count_eq':['value'],'contains':['value'],'join_filter':['value']}.get(row['operation'],[])
41
+ if any(str(row['slots'][k]).casefold() not in question.casefold() for k in required): continue
42
+ new=dict(row); new['id']=row['scenario_id']+'_concrete_'+lang; new['language']=lang
43
+ new['question']=question; new['prompt']=serialize(new['context'],question)
44
+ new['provenance']='Qwen3.8-27B-FP8 direct concrete paraphrase; numeric/literal checks; semantic audit separate'
45
+ accepted.append(new)
46
+ return {'scenario_id':row['scenario_id'],'request':payload,'raw_response':result,'accepted':accepted}
47
+
48
+
49
+ def main():
50
+ p=argparse.ArgumentParser(); p.add_argument('--data',required=True); p.add_argument('--out',required=True)
51
+ p.add_argument('--count',type=int,default=2500); p.add_argument('--workers',type=int,default=32)
52
+ p.add_argument('--base',default='http://127.0.0.1:18000/v1'); args=p.parse_args()
53
+ from tinyquery.data import SQL_OPS
54
+ seen=set(); candidates=[]
55
+ with open(args.data) as stream:
56
+ for line in stream:
57
+ r=json.loads(line)
58
+ if r['scenario_id'] not in seen and r['operation'] in SQL_OPS:
59
+ seen.add(r['scenario_id']); candidates.append(r)
60
+ random.Random(887).shuffle(candidates); candidates=candidates[:args.count]
61
+ out=Path(args.out); out.parent.mkdir(parents=True,exist_ok=True)
62
+ done=set()
63
+ if out.exists():
64
+ done={json.loads(line)['scenario_id'] for line in out.read_text().splitlines()}
65
+ start=time.time(); total=0; completed=0
66
+ with out.open('a') as stream, concurrent.futures.ThreadPoolExecutor(args.workers) as pool:
67
+ jobs={pool.submit(paraphrase,r,args.base,2100+i):r['scenario_id'] for i,r in enumerate(candidates) if r['scenario_id'] not in done}
68
+ for future in concurrent.futures.as_completed(jobs):
69
+ completed+=1
70
+ try:
71
+ result=future.result(); stream.write(compact(result)+'\n'); stream.flush()
72
+ total+=len(result['accepted'])
73
+ except Exception as exc:
74
+ print(compact({'error':str(exc),'scenario_id':jobs[future]}),flush=True)
75
+ if completed%25==0: print(compact({'completed':completed,'accepted':total,'seconds':time.time()-start}),flush=True)
76
+
77
+
78
+ if __name__=='__main__': main()