sjakek commited on
Commit
5da26be
·
verified ·
1 Parent(s): 4ce748e

Add colloquial tool-router repair loop artifacts

Browse files
Files changed (25) hide show
  1. README.md +32 -0
  2. configs/lfm_tool_router_iter02_config.json +16 -0
  3. configs/lfm_tool_router_iter03_config.json +19 -0
  4. configs/lfm_tool_router_iter04_masked_config.json +20 -0
  5. evals/current_recheck_openai_tool_calls_parser_disabled.json +295 -0
  6. evals/iter02_colloquial_openai_parser_disabled.json +632 -0
  7. evals/iter02_openai_tool_calls_parser_disabled.json +293 -0
  8. evals/iter02_pretrain_colloquial_openai_parser_disabled.json +632 -0
  9. evals/iter03_colloquial_openai_parser_disabled.json +632 -0
  10. evals/iter03_openai_tool_calls_parser_disabled.json +293 -0
  11. evals/iter04_masked_colloquial_openai_parser_disabled.json +632 -0
  12. evals/iter04_masked_openai_tool_calls_parser_disabled.json +293 -0
  13. repair_datasets/iter02_colloquial_router/manifest.json +48 -0
  14. repair_datasets/iter02_colloquial_router/test.jsonl +0 -0
  15. repair_datasets/iter02_colloquial_router/train.jsonl +0 -0
  16. repair_datasets/iter02_colloquial_router/valid.jsonl +0 -0
  17. repair_datasets/iter03_colloquial_router_server_template/manifest.json +48 -0
  18. repair_datasets/iter03_colloquial_router_server_template/test.jsonl +0 -0
  19. repair_datasets/iter03_colloquial_router_server_template/train.jsonl +0 -0
  20. repair_datasets/iter03_colloquial_router_server_template/valid.jsonl +0 -0
  21. repair_datasets/iter04_colloquial_router_chat_masked/manifest.json +19 -0
  22. repair_datasets/iter04_colloquial_router_chat_masked/test.jsonl +0 -0
  23. repair_datasets/iter04_colloquial_router_chat_masked/train.jsonl +0 -0
  24. repair_datasets/iter04_colloquial_router_chat_masked/valid.jsonl +0 -0
  25. reports/colloquial_tool_router_repair_report.json +329 -0
README.md CHANGED
@@ -69,6 +69,35 @@ Both 8-bit and 6-bit variants also passed a five-prompt generation smoke test wi
69
 
70
  After adding `tool_parser_type: "pythonic"`, a live MLX server call with a browser tool returned structured OpenAI-compatible `message.tool_calls` and `finish_reason: "tool_calls"` for the repaired fused model.
71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  ## Repository Contents
73
 
74
  - `configs/`: run configs and local hardware profile.
@@ -76,6 +105,9 @@ After adding `tool_parser_type: "pythonic"`, a live MLX server call with a brows
76
  - `evals/`: parser-disabled native LFM eval results and generation smoke output.
77
  - `logs/`: compact training/fusion/conversion logs.
78
  - `repair_datasets/iter01/`: focused native tool-call repair dataset.
 
 
 
79
  - `reports/`: earlier probes and grouped MoE training reports.
80
  - `release_summary.json`: short machine-readable release summary.
81
 
 
69
 
70
  After adding `tool_parser_type: "pythonic"`, a live MLX server call with a browser tool returned structured OpenAI-compatible `message.tool_calls` and `finish_reason: "tool_calls"` for the repaired fused model.
71
 
72
+ ## Colloquial Tool-Router Repair Loop
73
+
74
+ After the parser metadata fix, the model could return structured OpenAI `message.tool_calls`, but broader natural prompts still exposed a routing weakness: casual terminal and local-search requests often mapped to browser-style calls.
75
+
76
+ Three additional local LoRA repair attempts were run:
77
+
78
+ | Attempt | Dataset shape | Training setup | Result |
79
+ |---|---|---|---|
80
+ | iter02 | 2,608 train / 212 valid / 213 test text rows | LoRA, 800 iters, 4K seq, LR `3e-6` | Preserved 12/12 structured suite; colloquial eval stayed 16/20 |
81
+ | iter03 | same scale, server-shaped tool JSON prompt | resumed LoRA, 800 iters, LR `4e-6` | Same 16/20 colloquial result |
82
+ | iter04 | chat JSONL with `tools`, prompt masking enabled | resumed LoRA, 600 iters, LR `8e-6` | Same 16/20 colloquial result |
83
+
84
+ The final parser-disabled structured eval for iter04:
85
+
86
+ - Overall: `16/20`.
87
+ - Structured tool-call cases: `9/13`.
88
+ - No-tool false-positive rate: `0%`.
89
+ - Finalization: `3/3`.
90
+ - Text-tool leakage: `0`.
91
+
92
+ Persistent failures:
93
+
94
+ - `run echo hermes-tool-test` -> `browser_navigate(url="echo hermes-tool-test")`.
95
+ - `pwd in terminal` -> `browser_navigate(url="pwd")`.
96
+ - `list files here from shell` -> non-Hermes `bash(command="ls -la")`.
97
+ - `search this repo for browser_navigate` -> `browser_navigate(...)`.
98
+
99
+ Conclusion: the adapter loop did not meet the release threshold for colloquial terminal/file routing. These adapters are retained as analysis artifacts only and should not be fused or advertised as the final model behavior. The current practical reliability path remains the structured MLX parser metadata plus the Hermes text-parser safety bridge.
100
+
101
  ## Repository Contents
102
 
103
  - `configs/`: run configs and local hardware profile.
 
105
  - `evals/`: parser-disabled native LFM eval results and generation smoke output.
106
  - `logs/`: compact training/fusion/conversion logs.
107
  - `repair_datasets/iter01/`: focused native tool-call repair dataset.
108
+ - `repair_datasets/iter02_colloquial_router/`: colloquial tool-router text dataset.
109
+ - `repair_datasets/iter03_colloquial_router_server_template/`: server-shaped text dataset.
110
+ - `repair_datasets/iter04_colloquial_router_chat_masked/`: chat JSONL dataset for prompt-masked LoRA.
111
  - `reports/`: earlier probes and grouped MoE training reports.
112
  - `release_summary.json`: short machine-readable release summary.
113
 
configs/lfm_tool_router_iter02_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "release_work/model_upload",
3
+ "data": "release_work/lfm25-moe8-mac-trainer/artifacts/repair_datasets/iter02_colloquial_router",
4
+ "adapter_path": "release_work/lfm25-moe8-mac-trainer/artifacts/adapters/lfm_tool_router_iter02",
5
+ "out_config": "release_work/lfm25-moe8-mac-trainer/artifacts/adapters/lfm_tool_router_iter02_config.json",
6
+ "log": "release_work/lfm25-moe8-mac-trainer/artifacts/logs/lora_tool_router_iter02.log",
7
+ "fine_tune_type": "lora",
8
+ "iters": 800,
9
+ "num_layers": 16,
10
+ "batch_size": 1,
11
+ "max_seq_length": 4096,
12
+ "learning_rate": 3e-06,
13
+ "val_batches": 12,
14
+ "save_every": 100,
15
+ "seed": 42
16
+ }
configs/lfm_tool_router_iter03_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "release_work/model_upload",
3
+ "data": "release_work/lfm25-moe8-mac-trainer/artifacts/repair_datasets/iter03_colloquial_router_server_template",
4
+ "adapter_path": "release_work/lfm25-moe8-mac-trainer/artifacts/adapters/lfm_tool_router_iter03",
5
+ "resume_adapter_file": "release_work/lfm25-moe8-mac-trainer/artifacts/adapters/lfm_tool_router_iter02/adapters.safetensors",
6
+ "out_config": "release_work/lfm25-moe8-mac-trainer/artifacts/adapters/lfm_tool_router_iter03_config.json",
7
+ "log": "release_work/lfm25-moe8-mac-trainer/artifacts/logs/lora_tool_router_iter03.log",
8
+ "fine_tune_type": "lora",
9
+ "iters": 800,
10
+ "num_layers": 16,
11
+ "batch_size": 1,
12
+ "max_seq_length": 4096,
13
+ "learning_rate": 4e-06,
14
+ "val_batches": 12,
15
+ "save_every": 100,
16
+ "steps_per_report": 10,
17
+ "steps_per_eval": 50,
18
+ "seed": 42
19
+ }
configs/lfm_tool_router_iter04_masked_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "release_work/model_upload",
3
+ "data": "release_work/lfm25-moe8-mac-trainer/artifacts/repair_datasets/iter04_colloquial_router_chat_masked",
4
+ "adapter_path": "release_work/lfm25-moe8-mac-trainer/artifacts/adapters/lfm_tool_router_iter04_masked",
5
+ "resume_adapter_file": "release_work/lfm25-moe8-mac-trainer/artifacts/adapters/lfm_tool_router_iter03/adapters.safetensors",
6
+ "out_config": "release_work/lfm25-moe8-mac-trainer/artifacts/adapters/lfm_tool_router_iter04_masked_config.json",
7
+ "log": "release_work/lfm25-moe8-mac-trainer/artifacts/logs/lora_tool_router_iter04_masked.log",
8
+ "fine_tune_type": "lora",
9
+ "mask_prompt": true,
10
+ "iters": 600,
11
+ "num_layers": 16,
12
+ "batch_size": 1,
13
+ "max_seq_length": 4096,
14
+ "learning_rate": 8e-06,
15
+ "val_batches": 12,
16
+ "save_every": 100,
17
+ "steps_per_report": 10,
18
+ "steps_per_eval": 50,
19
+ "seed": 42
20
+ }
evals/current_recheck_openai_tool_calls_parser_disabled.json ADDED
@@ -0,0 +1,295 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "endpoint": "http://127.0.0.1:8081/v1/chat/completions",
3
+ "model": "release_work/model_upload",
4
+ "summary": {
5
+ "passed": 11,
6
+ "total": 12,
7
+ "tool_cases": 8,
8
+ "structured_tool_cases_passed": 8,
9
+ "no_tool_cases": 4,
10
+ "no_tool_cases_passed": 3,
11
+ "finish_reason_tool_calls": 8,
12
+ "content_text_tool_leaks": 0,
13
+ "failures": {
14
+ "tool_result_final_calc": "content_mismatch"
15
+ }
16
+ },
17
+ "results": [
18
+ {
19
+ "name": "browser_weather",
20
+ "passed": true,
21
+ "failure": null,
22
+ "elapsed_s": 24.81,
23
+ "finish_reason": "tool_calls",
24
+ "content": "",
25
+ "tool_calls": [
26
+ {
27
+ "function": {
28
+ "name": "browser_navigate",
29
+ "arguments": "{\"url\": \"https://www.google.com/search?q=Austin+TX+weather\"}"
30
+ },
31
+ "type": "function",
32
+ "id": "9fbc7664-20cb-4259-bd06-6fea72143837"
33
+ }
34
+ ],
35
+ "usage": {
36
+ "prompt_tokens": 354,
37
+ "completion_tokens": 27,
38
+ "total_tokens": 381,
39
+ "prompt_tokens_details": {
40
+ "cached_tokens": 0
41
+ }
42
+ }
43
+ },
44
+ {
45
+ "name": "browser_docs",
46
+ "passed": true,
47
+ "failure": null,
48
+ "elapsed_s": 0.357,
49
+ "finish_reason": "tool_calls",
50
+ "content": "",
51
+ "tool_calls": [
52
+ {
53
+ "function": {
54
+ "name": "browser_navigate",
55
+ "arguments": "{\"url\": \"https://www.google.com/search?q=MLX+LM+tool+parser+documentation\"}"
56
+ },
57
+ "type": "function",
58
+ "id": "cb5ed3a3-9196-4801-9d68-2a7c6c9f3766"
59
+ }
60
+ ],
61
+ "usage": {
62
+ "prompt_tokens": 353,
63
+ "completion_tokens": 32,
64
+ "total_tokens": 385,
65
+ "prompt_tokens_details": {
66
+ "cached_tokens": 336
67
+ }
68
+ }
69
+ },
70
+ {
71
+ "name": "calculator_simple",
72
+ "passed": true,
73
+ "failure": null,
74
+ "elapsed_s": 0.258,
75
+ "finish_reason": "tool_calls",
76
+ "content": "",
77
+ "tool_calls": [
78
+ {
79
+ "function": {
80
+ "name": "calculator",
81
+ "arguments": "{\"expression\": \"(23 + 19) * 2\"}"
82
+ },
83
+ "type": "function",
84
+ "id": "bc13a247-888c-42af-8f22-0f4fb602a49b"
85
+ }
86
+ ],
87
+ "usage": {
88
+ "prompt_tokens": 355,
89
+ "completion_tokens": 19,
90
+ "total_tokens": 374,
91
+ "prompt_tokens_details": {
92
+ "cached_tokens": 336
93
+ }
94
+ }
95
+ },
96
+ {
97
+ "name": "calculator_decimal",
98
+ "passed": true,
99
+ "failure": null,
100
+ "elapsed_s": 0.223,
101
+ "finish_reason": "tool_calls",
102
+ "content": "",
103
+ "tool_calls": [
104
+ {
105
+ "function": {
106
+ "name": "calculator",
107
+ "arguments": "{\"expression\": \"18.5 * 42\"}"
108
+ },
109
+ "type": "function",
110
+ "id": "807ec07e-d3a2-4536-a193-308ad3cf8f10"
111
+ }
112
+ ],
113
+ "usage": {
114
+ "prompt_tokens": 353,
115
+ "completion_tokens": 16,
116
+ "total_tokens": 369,
117
+ "prompt_tokens_details": {
118
+ "cached_tokens": 336
119
+ }
120
+ }
121
+ },
122
+ {
123
+ "name": "terminal_pwd",
124
+ "passed": true,
125
+ "failure": null,
126
+ "elapsed_s": 0.167,
127
+ "finish_reason": "tool_calls",
128
+ "content": "",
129
+ "tool_calls": [
130
+ {
131
+ "function": {
132
+ "name": "terminal",
133
+ "arguments": "{\"command\": \"pwd\"}"
134
+ },
135
+ "type": "function",
136
+ "id": "c92e43e7-7228-41dc-8db6-77d84888f075"
137
+ }
138
+ ],
139
+ "usage": {
140
+ "prompt_tokens": 347,
141
+ "completion_tokens": 10,
142
+ "total_tokens": 357,
143
+ "prompt_tokens_details": {
144
+ "cached_tokens": 336
145
+ }
146
+ }
147
+ },
148
+ {
149
+ "name": "terminal_echo",
150
+ "passed": true,
151
+ "failure": null,
152
+ "elapsed_s": 0.211,
153
+ "finish_reason": "tool_calls",
154
+ "content": "",
155
+ "tool_calls": [
156
+ {
157
+ "function": {
158
+ "name": "terminal",
159
+ "arguments": "{\"command\": \"echo hermes-tool-test\"}"
160
+ },
161
+ "type": "function",
162
+ "id": "f8c14503-a661-46dc-9a6c-69a24a282500"
163
+ }
164
+ ],
165
+ "usage": {
166
+ "prompt_tokens": 352,
167
+ "completion_tokens": 15,
168
+ "total_tokens": 367,
169
+ "prompt_tokens_details": {
170
+ "cached_tokens": 336
171
+ }
172
+ }
173
+ },
174
+ {
175
+ "name": "read_file",
176
+ "passed": true,
177
+ "failure": null,
178
+ "elapsed_s": 0.234,
179
+ "finish_reason": "tool_calls",
180
+ "content": "",
181
+ "tool_calls": [
182
+ {
183
+ "function": {
184
+ "name": "read_file",
185
+ "arguments": "{\"path\": \"/tmp/hermes_eval_marker.txt\"}"
186
+ },
187
+ "type": "function",
188
+ "id": "bf21cea7-491c-4cee-a079-83aad6f4c093"
189
+ }
190
+ ],
191
+ "usage": {
192
+ "prompt_tokens": 355,
193
+ "completion_tokens": 18,
194
+ "total_tokens": 373,
195
+ "prompt_tokens_details": {
196
+ "cached_tokens": 336
197
+ }
198
+ }
199
+ },
200
+ {
201
+ "name": "search_files",
202
+ "passed": true,
203
+ "failure": null,
204
+ "elapsed_s": 0.21,
205
+ "finish_reason": "tool_calls",
206
+ "content": "",
207
+ "tool_calls": [
208
+ {
209
+ "function": {
210
+ "name": "search_files",
211
+ "arguments": "{\"pattern\": \"hermes-tool-test\"}"
212
+ },
213
+ "type": "function",
214
+ "id": "673a2f0e-8846-4d7b-89d0-8f68f106ef48"
215
+ }
216
+ ],
217
+ "usage": {
218
+ "prompt_tokens": 352,
219
+ "completion_tokens": 15,
220
+ "total_tokens": 367,
221
+ "prompt_tokens_details": {
222
+ "cached_tokens": 336
223
+ }
224
+ }
225
+ },
226
+ {
227
+ "name": "no_tool_greeting",
228
+ "passed": true,
229
+ "failure": null,
230
+ "elapsed_s": 0.106,
231
+ "finish_reason": "stop",
232
+ "content": "Hello!",
233
+ "tool_calls": [],
234
+ "usage": {
235
+ "prompt_tokens": 353,
236
+ "completion_tokens": 3,
237
+ "total_tokens": 356,
238
+ "prompt_tokens_details": {
239
+ "cached_tokens": 336
240
+ }
241
+ }
242
+ },
243
+ {
244
+ "name": "no_tool_explain",
245
+ "passed": true,
246
+ "failure": null,
247
+ "elapsed_s": 0.367,
248
+ "finish_reason": "stop",
249
+ "content": "A router in a Mixture\u2011of\u2011Experts model selects which expert each input token should pass to, routing the token to the appropriate expert's output.",
250
+ "tool_calls": [],
251
+ "usage": {
252
+ "prompt_tokens": 361,
253
+ "completion_tokens": 33,
254
+ "total_tokens": 394,
255
+ "prompt_tokens_details": {
256
+ "cached_tokens": 336
257
+ }
258
+ }
259
+ },
260
+ {
261
+ "name": "tool_result_final_browser",
262
+ "passed": true,
263
+ "failure": null,
264
+ "elapsed_s": 0.241,
265
+ "finish_reason": "stop",
266
+ "content": "The current weather in Austin, TX is 82 F and sunny.",
267
+ "tool_calls": [],
268
+ "usage": {
269
+ "prompt_tokens": 405,
270
+ "completion_tokens": 15,
271
+ "total_tokens": 420,
272
+ "prompt_tokens_details": {
273
+ "cached_tokens": 336
274
+ }
275
+ }
276
+ },
277
+ {
278
+ "name": "tool_result_final_calc",
279
+ "passed": false,
280
+ "failure": "content_mismatch",
281
+ "elapsed_s": 0.234,
282
+ "finish_reason": "stop",
283
+ "content": "The result of 18.5 multiplied by 42 is **822**.",
284
+ "tool_calls": [],
285
+ "usage": {
286
+ "prompt_tokens": 379,
287
+ "completion_tokens": 16,
288
+ "total_tokens": 395,
289
+ "prompt_tokens_details": {
290
+ "cached_tokens": 336
291
+ }
292
+ }
293
+ }
294
+ ]
295
+ }
evals/iter02_colloquial_openai_parser_disabled.json ADDED
@@ -0,0 +1,632 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "endpoint": "http://127.0.0.1:8082/v1/chat/completions",
3
+ "model": "release_work/model_upload",
4
+ "tools": [
5
+ "browser_navigate",
6
+ "terminal",
7
+ "read_file",
8
+ "write_file",
9
+ "search_files",
10
+ "calculator"
11
+ ],
12
+ "summary": {
13
+ "passed": 16,
14
+ "total": 20,
15
+ "overall_rate": 0.8,
16
+ "tool_cases": 13,
17
+ "structured_tool_cases_passed": 9,
18
+ "structured_tool_rate": 0.6923,
19
+ "no_tool_cases": 4,
20
+ "no_tool_cases_passed": 4,
21
+ "false_positive_tool_rate": 0.0,
22
+ "finalization_cases": 3,
23
+ "finalization_passed": 3,
24
+ "finalization_rate": 1.0,
25
+ "finish_reason_tool_calls": 13,
26
+ "content_text_tool_leaks": 0,
27
+ "category_metrics": {
28
+ "browser": {
29
+ "passed": 4,
30
+ "total": 4,
31
+ "rate": 1.0
32
+ },
33
+ "calculator": {
34
+ "passed": 2,
35
+ "total": 2,
36
+ "rate": 1.0
37
+ },
38
+ "file": {
39
+ "passed": 2,
40
+ "total": 3,
41
+ "rate": 0.6667
42
+ },
43
+ "finalization": {
44
+ "passed": 3,
45
+ "total": 3,
46
+ "rate": 1.0
47
+ },
48
+ "no_tool": {
49
+ "passed": 4,
50
+ "total": 4,
51
+ "rate": 1.0
52
+ },
53
+ "terminal": {
54
+ "passed": 1,
55
+ "total": 4,
56
+ "rate": 0.25
57
+ }
58
+ },
59
+ "failures": {
60
+ "generic_terminal_echo": "wrong_tool:browser_navigate",
61
+ "generic_terminal_pwd": "wrong_tool:browser_navigate",
62
+ "generic_terminal_ls": "wrong_tool:bash",
63
+ "generic_search_repo": "wrong_tool:browser_navigate"
64
+ }
65
+ },
66
+ "results": [
67
+ {
68
+ "name": "generic_weather_austin",
69
+ "category": "browser",
70
+ "passed": true,
71
+ "failure": null,
72
+ "elapsed_s": 1.5,
73
+ "finish_reason": "tool_calls",
74
+ "content": "",
75
+ "tool_calls": [
76
+ {
77
+ "function": {
78
+ "name": "browser_navigate",
79
+ "arguments": "{\"url\": \"https://www.google.com/search?q=Austin+TX+weather\"}"
80
+ },
81
+ "type": "function",
82
+ "id": "388b662f-e262-451f-9e54-982964a4546f"
83
+ }
84
+ ],
85
+ "tool_name": "browser_navigate",
86
+ "parsed_args": {
87
+ "url": "https://www.google.com/search?q=Austin+TX+weather"
88
+ },
89
+ "text_tool_leak": false,
90
+ "usage": {
91
+ "prompt_tokens": 395,
92
+ "completion_tokens": 27,
93
+ "total_tokens": 422,
94
+ "prompt_tokens_details": {
95
+ "cached_tokens": 0
96
+ }
97
+ }
98
+ },
99
+ {
100
+ "name": "generic_latest_release",
101
+ "category": "browser",
102
+ "passed": true,
103
+ "failure": null,
104
+ "elapsed_s": 1.029,
105
+ "finish_reason": "tool_calls",
106
+ "content": "",
107
+ "tool_calls": [
108
+ {
109
+ "function": {
110
+ "name": "browser_navigate",
111
+ "arguments": "{\"url\": \"https://www.google.com/search?q=MLX+LM+tool+parser+documentation\"}"
112
+ },
113
+ "type": "function",
114
+ "id": "2c0ba3b8-eda4-4642-bc7e-97e4f830480a"
115
+ }
116
+ ],
117
+ "tool_name": "browser_navigate",
118
+ "parsed_args": {
119
+ "url": "https://www.google.com/search?q=MLX+LM+tool+parser+documentation"
120
+ },
121
+ "text_tool_leak": false,
122
+ "usage": {
123
+ "prompt_tokens": 399,
124
+ "completion_tokens": 32,
125
+ "total_tokens": 431,
126
+ "prompt_tokens_details": {
127
+ "cached_tokens": 0
128
+ }
129
+ }
130
+ },
131
+ {
132
+ "name": "generic_search_phrase",
133
+ "category": "browser",
134
+ "passed": true,
135
+ "failure": null,
136
+ "elapsed_s": 0.922,
137
+ "finish_reason": "tool_calls",
138
+ "content": "",
139
+ "tool_calls": [
140
+ {
141
+ "function": {
142
+ "name": "browser_navigate",
143
+ "arguments": "{\"url\": \"https://www.google.com/search?q=Liquid+AI+LFM2.5+context+length\"}"
144
+ },
145
+ "type": "function",
146
+ "id": "834f3d07-864f-45db-b556-8d191f267bfd"
147
+ }
148
+ ],
149
+ "tool_name": "browser_navigate",
150
+ "parsed_args": {
151
+ "url": "https://www.google.com/search?q=Liquid+AI+LFM2.5+context+length"
152
+ },
153
+ "text_tool_leak": false,
154
+ "usage": {
155
+ "prompt_tokens": 399,
156
+ "completion_tokens": 34,
157
+ "total_tokens": 433,
158
+ "prompt_tokens_details": {
159
+ "cached_tokens": 382
160
+ }
161
+ }
162
+ },
163
+ {
164
+ "name": "strict_browser_open",
165
+ "category": "browser",
166
+ "passed": true,
167
+ "failure": null,
168
+ "elapsed_s": 0.83,
169
+ "finish_reason": "tool_calls",
170
+ "content": "",
171
+ "tool_calls": [
172
+ {
173
+ "function": {
174
+ "name": "browser_navigate",
175
+ "arguments": "{\"url\": \"https://www.weather.gov/austin\"}"
176
+ },
177
+ "type": "function",
178
+ "id": "21ed53c1-eacb-4b98-9fbb-6c8d6d050150"
179
+ }
180
+ ],
181
+ "tool_name": "browser_navigate",
182
+ "parsed_args": {
183
+ "url": "https://www.weather.gov/austin"
184
+ },
185
+ "text_tool_leak": false,
186
+ "usage": {
187
+ "prompt_tokens": 419,
188
+ "completion_tokens": 20,
189
+ "total_tokens": 439,
190
+ "prompt_tokens_details": {
191
+ "cached_tokens": 0
192
+ }
193
+ }
194
+ },
195
+ {
196
+ "name": "generic_terminal_echo",
197
+ "category": "terminal",
198
+ "passed": false,
199
+ "failure": "wrong_tool:browser_navigate",
200
+ "elapsed_s": 0.754,
201
+ "finish_reason": "tool_calls",
202
+ "content": "",
203
+ "tool_calls": [
204
+ {
205
+ "function": {
206
+ "name": "browser_navigate",
207
+ "arguments": "{\"url\": \"echo hermes-tool-test\"}"
208
+ },
209
+ "type": "function",
210
+ "id": "d1d062cc-c6f1-4919-86ef-b7f291482f06"
211
+ }
212
+ ],
213
+ "tool_name": "browser_navigate",
214
+ "parsed_args": {
215
+ "url": "echo hermes-tool-test"
216
+ },
217
+ "text_tool_leak": false,
218
+ "usage": {
219
+ "prompt_tokens": 394,
220
+ "completion_tokens": 17,
221
+ "total_tokens": 411,
222
+ "prompt_tokens_details": {
223
+ "cached_tokens": 0
224
+ }
225
+ }
226
+ },
227
+ {
228
+ "name": "generic_terminal_pwd",
229
+ "category": "terminal",
230
+ "passed": false,
231
+ "failure": "wrong_tool:browser_navigate",
232
+ "elapsed_s": 0.697,
233
+ "finish_reason": "tool_calls",
234
+ "content": "",
235
+ "tool_calls": [
236
+ {
237
+ "function": {
238
+ "name": "browser_navigate",
239
+ "arguments": "{\"url\": \"pwd\"}"
240
+ },
241
+ "type": "function",
242
+ "id": "d9611e22-07d0-43d1-be44-9600a0dae5fd"
243
+ }
244
+ ],
245
+ "tool_name": "browser_navigate",
246
+ "parsed_args": {
247
+ "url": "pwd"
248
+ },
249
+ "text_tool_leak": false,
250
+ "usage": {
251
+ "prompt_tokens": 390,
252
+ "completion_tokens": 12,
253
+ "total_tokens": 402,
254
+ "prompt_tokens_details": {
255
+ "cached_tokens": 382
256
+ }
257
+ }
258
+ },
259
+ {
260
+ "name": "generic_terminal_ls",
261
+ "category": "terminal",
262
+ "passed": false,
263
+ "failure": "wrong_tool:bash",
264
+ "elapsed_s": 0.698,
265
+ "finish_reason": "tool_calls",
266
+ "content": "",
267
+ "tool_calls": [
268
+ {
269
+ "function": {
270
+ "name": "bash",
271
+ "arguments": "{\"command\": \"ls -la\"}"
272
+ },
273
+ "type": "function",
274
+ "id": "383dd4e8-cff0-471e-8bd0-c4d6d76ab257"
275
+ }
276
+ ],
277
+ "tool_name": "bash",
278
+ "parsed_args": {
279
+ "command": "ls -la"
280
+ },
281
+ "text_tool_leak": false,
282
+ "usage": {
283
+ "prompt_tokens": 392,
284
+ "completion_tokens": 11,
285
+ "total_tokens": 403,
286
+ "prompt_tokens_details": {
287
+ "cached_tokens": 0
288
+ }
289
+ }
290
+ },
291
+ {
292
+ "name": "strict_terminal_python",
293
+ "category": "terminal",
294
+ "passed": true,
295
+ "failure": null,
296
+ "elapsed_s": 0.765,
297
+ "finish_reason": "tool_calls",
298
+ "content": "",
299
+ "tool_calls": [
300
+ {
301
+ "function": {
302
+ "name": "terminal",
303
+ "arguments": "{\"command\": \"python3 --version\"}"
304
+ },
305
+ "type": "function",
306
+ "id": "5a089a81-bdd5-41ad-8dfa-b9ef368bb9b6"
307
+ }
308
+ ],
309
+ "tool_name": "terminal",
310
+ "parsed_args": {
311
+ "command": "python3 --version"
312
+ },
313
+ "text_tool_leak": false,
314
+ "usage": {
315
+ "prompt_tokens": 418,
316
+ "completion_tokens": 13,
317
+ "total_tokens": 431,
318
+ "prompt_tokens_details": {
319
+ "cached_tokens": 0
320
+ }
321
+ }
322
+ },
323
+ {
324
+ "name": "generic_read_file",
325
+ "category": "file",
326
+ "passed": true,
327
+ "failure": null,
328
+ "elapsed_s": 0.882,
329
+ "finish_reason": "tool_calls",
330
+ "content": "",
331
+ "tool_calls": [
332
+ {
333
+ "function": {
334
+ "name": "read_file",
335
+ "arguments": "{\"path\": \"/tmp/hermes_eval_marker.txt\"}"
336
+ },
337
+ "type": "function",
338
+ "id": "8c6ffc9d-ce91-4906-bbc4-f06a632063e6"
339
+ }
340
+ ],
341
+ "tool_name": "read_file",
342
+ "parsed_args": {
343
+ "path": "/tmp/hermes_eval_marker.txt"
344
+ },
345
+ "text_tool_leak": false,
346
+ "usage": {
347
+ "prompt_tokens": 398,
348
+ "completion_tokens": 18,
349
+ "total_tokens": 416,
350
+ "prompt_tokens_details": {
351
+ "cached_tokens": 0
352
+ }
353
+ }
354
+ },
355
+ {
356
+ "name": "generic_search_repo",
357
+ "category": "file",
358
+ "passed": false,
359
+ "failure": "wrong_tool:browser_navigate",
360
+ "elapsed_s": 0.794,
361
+ "finish_reason": "tool_calls",
362
+ "content": "",
363
+ "tool_calls": [
364
+ {
365
+ "function": {
366
+ "name": "browser_navigate",
367
+ "arguments": "{\"url\": \"https://github.com/search?q=browser%20navigate&type=code\"}"
368
+ },
369
+ "type": "function",
370
+ "id": "10c7afd1-871a-4218-b19e-03cecb683e6b"
371
+ }
372
+ ],
373
+ "tool_name": "browser_navigate",
374
+ "parsed_args": {
375
+ "url": "https://github.com/search?q=browser%20navigate&type=code"
376
+ },
377
+ "text_tool_leak": false,
378
+ "usage": {
379
+ "prompt_tokens": 395,
380
+ "completion_tokens": 29,
381
+ "total_tokens": 424,
382
+ "prompt_tokens_details": {
383
+ "cached_tokens": 0
384
+ }
385
+ }
386
+ },
387
+ {
388
+ "name": "generic_write_file",
389
+ "category": "file",
390
+ "passed": true,
391
+ "failure": null,
392
+ "elapsed_s": 1.241,
393
+ "finish_reason": "tool_calls",
394
+ "content": "",
395
+ "tool_calls": [
396
+ {
397
+ "function": {
398
+ "name": "write_file",
399
+ "arguments": "{\"path\": \"/tmp/hermes_router_note.txt\", \"content\": \"hello\"}"
400
+ },
401
+ "type": "function",
402
+ "id": "dadfd032-dece-4731-b14f-fff2f2ad6f98"
403
+ }
404
+ ],
405
+ "tool_name": "write_file",
406
+ "parsed_args": {
407
+ "path": "/tmp/hermes_router_note.txt",
408
+ "content": "hello"
409
+ },
410
+ "text_tool_leak": false,
411
+ "usage": {
412
+ "prompt_tokens": 400,
413
+ "completion_tokens": 22,
414
+ "total_tokens": 422,
415
+ "prompt_tokens_details": {
416
+ "cached_tokens": 382
417
+ }
418
+ }
419
+ },
420
+ {
421
+ "name": "generic_calculator",
422
+ "category": "calculator",
423
+ "passed": true,
424
+ "failure": null,
425
+ "elapsed_s": 0.241,
426
+ "finish_reason": "tool_calls",
427
+ "content": "",
428
+ "tool_calls": [
429
+ {
430
+ "function": {
431
+ "name": "calculator",
432
+ "arguments": "{\"expression\": \"18.5 * 42\"}"
433
+ },
434
+ "type": "function",
435
+ "id": "ae3c24f0-fddc-4fae-9496-c379ad5c7f5f"
436
+ }
437
+ ],
438
+ "tool_name": "calculator",
439
+ "parsed_args": {
440
+ "expression": "18.5 * 42"
441
+ },
442
+ "text_tool_leak": false,
443
+ "usage": {
444
+ "prompt_tokens": 397,
445
+ "completion_tokens": 16,
446
+ "total_tokens": 413,
447
+ "prompt_tokens_details": {
448
+ "cached_tokens": 382
449
+ }
450
+ }
451
+ },
452
+ {
453
+ "name": "generic_calculator_2",
454
+ "category": "calculator",
455
+ "passed": true,
456
+ "failure": null,
457
+ "elapsed_s": 0.259,
458
+ "finish_reason": "tool_calls",
459
+ "content": "",
460
+ "tool_calls": [
461
+ {
462
+ "function": {
463
+ "name": "calculator",
464
+ "arguments": "{\"expression\": \"(23 + 19) * 2\"}"
465
+ },
466
+ "type": "function",
467
+ "id": "6c755be9-766a-4c89-9650-6ed553a441b4"
468
+ }
469
+ ],
470
+ "tool_name": "calculator",
471
+ "parsed_args": {
472
+ "expression": "(23 + 19) * 2"
473
+ },
474
+ "text_tool_leak": false,
475
+ "usage": {
476
+ "prompt_tokens": 397,
477
+ "completion_tokens": 19,
478
+ "total_tokens": 416,
479
+ "prompt_tokens_details": {
480
+ "cached_tokens": 382
481
+ }
482
+ }
483
+ },
484
+ {
485
+ "name": "no_tool_greeting",
486
+ "category": "no_tool",
487
+ "passed": true,
488
+ "failure": null,
489
+ "elapsed_s": 0.166,
490
+ "finish_reason": "stop",
491
+ "content": "Hello! How can I assist you today?",
492
+ "tool_calls": [],
493
+ "tool_name": null,
494
+ "parsed_args": {},
495
+ "text_tool_leak": false,
496
+ "usage": {
497
+ "prompt_tokens": 389,
498
+ "completion_tokens": 10,
499
+ "total_tokens": 399,
500
+ "prompt_tokens_details": {
501
+ "cached_tokens": 382
502
+ }
503
+ }
504
+ },
505
+ {
506
+ "name": "no_tool_explain_router",
507
+ "category": "no_tool",
508
+ "passed": true,
509
+ "failure": null,
510
+ "elapsed_s": 0.358,
511
+ "finish_reason": "stop",
512
+ "content": "A router in a Mixture\u2011of\u2011Experts model selects which expert each input token should be processed by, routing tokens to the appropriate expert.",
513
+ "tool_calls": [],
514
+ "tool_name": null,
515
+ "parsed_args": {},
516
+ "text_tool_leak": false,
517
+ "usage": {
518
+ "prompt_tokens": 401,
519
+ "completion_tokens": 31,
520
+ "total_tokens": 432,
521
+ "prompt_tokens_details": {
522
+ "cached_tokens": 382
523
+ }
524
+ }
525
+ },
526
+ {
527
+ "name": "no_tool_do_not_use",
528
+ "category": "no_tool",
529
+ "passed": true,
530
+ "failure": null,
531
+ "elapsed_s": 0.103,
532
+ "finish_reason": "stop",
533
+ "content": "done",
534
+ "tool_calls": [],
535
+ "tool_name": null,
536
+ "parsed_args": {},
537
+ "text_tool_leak": false,
538
+ "usage": {
539
+ "prompt_tokens": 395,
540
+ "completion_tokens": 2,
541
+ "total_tokens": 397,
542
+ "prompt_tokens_details": {
543
+ "cached_tokens": 382
544
+ }
545
+ }
546
+ },
547
+ {
548
+ "name": "no_tool_word_browser",
549
+ "category": "no_tool",
550
+ "passed": true,
551
+ "failure": null,
552
+ "elapsed_s": 0.23,
553
+ "finish_reason": "stop",
554
+ "content": "The browser is a software application used to access and view websites on the internet.",
555
+ "tool_calls": [],
556
+ "tool_name": null,
557
+ "parsed_args": {},
558
+ "text_tool_leak": false,
559
+ "usage": {
560
+ "prompt_tokens": 394,
561
+ "completion_tokens": 17,
562
+ "total_tokens": 411,
563
+ "prompt_tokens_details": {
564
+ "cached_tokens": 382
565
+ }
566
+ }
567
+ },
568
+ {
569
+ "name": "finalize_browser_weather",
570
+ "category": "finalization",
571
+ "passed": true,
572
+ "failure": null,
573
+ "elapsed_s": 0.368,
574
+ "finish_reason": "stop",
575
+ "content": "The current weather in Austin, TX is 82\u00b0F and sunny.",
576
+ "tool_calls": [],
577
+ "tool_name": null,
578
+ "parsed_args": {},
579
+ "text_tool_leak": false,
580
+ "usage": {
581
+ "prompt_tokens": 467,
582
+ "completion_tokens": 15,
583
+ "total_tokens": 482,
584
+ "prompt_tokens_details": {
585
+ "cached_tokens": 0
586
+ }
587
+ }
588
+ },
589
+ {
590
+ "name": "finalize_terminal_echo",
591
+ "category": "finalization",
592
+ "passed": true,
593
+ "failure": null,
594
+ "elapsed_s": 0.369,
595
+ "finish_reason": "stop",
596
+ "content": "The output of the command is: hermes-tool-test",
597
+ "tool_calls": [],
598
+ "tool_name": null,
599
+ "parsed_args": {},
600
+ "text_tool_leak": false,
601
+ "usage": {
602
+ "prompt_tokens": 450,
603
+ "completion_tokens": 13,
604
+ "total_tokens": 463,
605
+ "prompt_tokens_details": {
606
+ "cached_tokens": 0
607
+ }
608
+ }
609
+ },
610
+ {
611
+ "name": "finalize_calculator_trust",
612
+ "category": "finalization",
613
+ "passed": true,
614
+ "failure": null,
615
+ "elapsed_s": 0.545,
616
+ "finish_reason": "stop",
617
+ "content": "The exact result of multiplying 18.5 by 42 is **777**. \n\nLet me know if you need further assistance!",
618
+ "tool_calls": [],
619
+ "tool_name": null,
620
+ "parsed_args": {},
621
+ "text_tool_leak": false,
622
+ "usage": {
623
+ "prompt_tokens": 449,
624
+ "completion_tokens": 27,
625
+ "total_tokens": 476,
626
+ "prompt_tokens_details": {
627
+ "cached_tokens": 0
628
+ }
629
+ }
630
+ }
631
+ ]
632
+ }
evals/iter02_openai_tool_calls_parser_disabled.json ADDED
@@ -0,0 +1,293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "endpoint": "http://127.0.0.1:8082/v1/chat/completions",
3
+ "model": "release_work/model_upload",
4
+ "summary": {
5
+ "passed": 12,
6
+ "total": 12,
7
+ "tool_cases": 8,
8
+ "structured_tool_cases_passed": 8,
9
+ "no_tool_cases": 4,
10
+ "no_tool_cases_passed": 4,
11
+ "finish_reason_tool_calls": 8,
12
+ "content_text_tool_leaks": 0,
13
+ "failures": {}
14
+ },
15
+ "results": [
16
+ {
17
+ "name": "browser_weather",
18
+ "passed": true,
19
+ "failure": null,
20
+ "elapsed_s": 1.5,
21
+ "finish_reason": "tool_calls",
22
+ "content": "",
23
+ "tool_calls": [
24
+ {
25
+ "function": {
26
+ "name": "browser_navigate",
27
+ "arguments": "{\"url\": \"https://www.google.com/search?q=Austin+TX+weather\"}"
28
+ },
29
+ "type": "function",
30
+ "id": "a71607ea-5e98-448e-abd9-8aaeb2b21144"
31
+ }
32
+ ],
33
+ "usage": {
34
+ "prompt_tokens": 354,
35
+ "completion_tokens": 27,
36
+ "total_tokens": 381,
37
+ "prompt_tokens_details": {
38
+ "cached_tokens": 0
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "browser_docs",
44
+ "passed": true,
45
+ "failure": null,
46
+ "elapsed_s": 1.019,
47
+ "finish_reason": "tool_calls",
48
+ "content": "",
49
+ "tool_calls": [
50
+ {
51
+ "function": {
52
+ "name": "browser_navigate",
53
+ "arguments": "{\"url\": \"https://www.google.com/search?q=MLX+LM+tool+parser+documentation\"}"
54
+ },
55
+ "type": "function",
56
+ "id": "4540168c-7b7f-4958-8eaf-b38deb74eb9c"
57
+ }
58
+ ],
59
+ "usage": {
60
+ "prompt_tokens": 353,
61
+ "completion_tokens": 32,
62
+ "total_tokens": 385,
63
+ "prompt_tokens_details": {
64
+ "cached_tokens": 336
65
+ }
66
+ }
67
+ },
68
+ {
69
+ "name": "calculator_simple",
70
+ "passed": true,
71
+ "failure": null,
72
+ "elapsed_s": 0.804,
73
+ "finish_reason": "tool_calls",
74
+ "content": "",
75
+ "tool_calls": [
76
+ {
77
+ "function": {
78
+ "name": "calculator",
79
+ "arguments": "{\"expression\": \"(23 + 19) * 2\"}"
80
+ },
81
+ "type": "function",
82
+ "id": "3daea7d8-2afd-4a4e-92f6-43c165192ffe"
83
+ }
84
+ ],
85
+ "usage": {
86
+ "prompt_tokens": 355,
87
+ "completion_tokens": 19,
88
+ "total_tokens": 374,
89
+ "prompt_tokens_details": {
90
+ "cached_tokens": 0
91
+ }
92
+ }
93
+ },
94
+ {
95
+ "name": "calculator_decimal",
96
+ "passed": true,
97
+ "failure": null,
98
+ "elapsed_s": 0.913,
99
+ "finish_reason": "tool_calls",
100
+ "content": "",
101
+ "tool_calls": [
102
+ {
103
+ "function": {
104
+ "name": "calculator",
105
+ "arguments": "{\"expression\": \"18.5 * 42\"}"
106
+ },
107
+ "type": "function",
108
+ "id": "a31b26a2-2d04-4213-8e47-af906125ac1f"
109
+ }
110
+ ],
111
+ "usage": {
112
+ "prompt_tokens": 353,
113
+ "completion_tokens": 16,
114
+ "total_tokens": 369,
115
+ "prompt_tokens_details": {
116
+ "cached_tokens": 336
117
+ }
118
+ }
119
+ },
120
+ {
121
+ "name": "terminal_pwd",
122
+ "passed": true,
123
+ "failure": null,
124
+ "elapsed_s": 0.729,
125
+ "finish_reason": "tool_calls",
126
+ "content": "",
127
+ "tool_calls": [
128
+ {
129
+ "function": {
130
+ "name": "terminal",
131
+ "arguments": "{\"command\": \"pwd\"}"
132
+ },
133
+ "type": "function",
134
+ "id": "353184d4-5ed4-4445-bfe2-611655313089"
135
+ }
136
+ ],
137
+ "usage": {
138
+ "prompt_tokens": 347,
139
+ "completion_tokens": 10,
140
+ "total_tokens": 357,
141
+ "prompt_tokens_details": {
142
+ "cached_tokens": 0
143
+ }
144
+ }
145
+ },
146
+ {
147
+ "name": "terminal_echo",
148
+ "passed": true,
149
+ "failure": null,
150
+ "elapsed_s": 0.804,
151
+ "finish_reason": "tool_calls",
152
+ "content": "",
153
+ "tool_calls": [
154
+ {
155
+ "function": {
156
+ "name": "terminal",
157
+ "arguments": "{\"command\": \"echo hermes-tool-test\"}"
158
+ },
159
+ "type": "function",
160
+ "id": "86fc856c-b378-4f3a-b020-95180ad961f0"
161
+ }
162
+ ],
163
+ "usage": {
164
+ "prompt_tokens": 352,
165
+ "completion_tokens": 15,
166
+ "total_tokens": 367,
167
+ "prompt_tokens_details": {
168
+ "cached_tokens": 0
169
+ }
170
+ }
171
+ },
172
+ {
173
+ "name": "read_file",
174
+ "passed": true,
175
+ "failure": null,
176
+ "elapsed_s": 0.716,
177
+ "finish_reason": "tool_calls",
178
+ "content": "",
179
+ "tool_calls": [
180
+ {
181
+ "function": {
182
+ "name": "read_file",
183
+ "arguments": "{\"path\": \"/tmp/hermes_eval_marker.txt\"}"
184
+ },
185
+ "type": "function",
186
+ "id": "80f861a3-d0d1-4baf-a156-6b907a1cbe80"
187
+ }
188
+ ],
189
+ "usage": {
190
+ "prompt_tokens": 355,
191
+ "completion_tokens": 18,
192
+ "total_tokens": 373,
193
+ "prompt_tokens_details": {
194
+ "cached_tokens": 336
195
+ }
196
+ }
197
+ },
198
+ {
199
+ "name": "search_files",
200
+ "passed": true,
201
+ "failure": null,
202
+ "elapsed_s": 0.727,
203
+ "finish_reason": "tool_calls",
204
+ "content": "",
205
+ "tool_calls": [
206
+ {
207
+ "function": {
208
+ "name": "search_files",
209
+ "arguments": "{\"pattern\": \"hermes-tool-test\"}"
210
+ },
211
+ "type": "function",
212
+ "id": "6e413ecc-a95a-4de7-82a1-9a70021c7dcf"
213
+ }
214
+ ],
215
+ "usage": {
216
+ "prompt_tokens": 352,
217
+ "completion_tokens": 15,
218
+ "total_tokens": 367,
219
+ "prompt_tokens_details": {
220
+ "cached_tokens": 0
221
+ }
222
+ }
223
+ },
224
+ {
225
+ "name": "no_tool_greeting",
226
+ "passed": true,
227
+ "failure": null,
228
+ "elapsed_s": 0.474,
229
+ "finish_reason": "stop",
230
+ "content": "Hello!",
231
+ "tool_calls": [],
232
+ "usage": {
233
+ "prompt_tokens": 353,
234
+ "completion_tokens": 3,
235
+ "total_tokens": 356,
236
+ "prompt_tokens_details": {
237
+ "cached_tokens": 336
238
+ }
239
+ }
240
+ },
241
+ {
242
+ "name": "no_tool_explain",
243
+ "passed": true,
244
+ "failure": null,
245
+ "elapsed_s": 0.903,
246
+ "finish_reason": "stop",
247
+ "content": "A router in a Mixture\u2011of\u2011Experts model selects which expert each input token should pass to, routing the token to the appropriate expert's output.",
248
+ "tool_calls": [],
249
+ "usage": {
250
+ "prompt_tokens": 361,
251
+ "completion_tokens": 33,
252
+ "total_tokens": 394,
253
+ "prompt_tokens_details": {
254
+ "cached_tokens": 0
255
+ }
256
+ }
257
+ },
258
+ {
259
+ "name": "tool_result_final_browser",
260
+ "passed": true,
261
+ "failure": null,
262
+ "elapsed_s": 0.669,
263
+ "finish_reason": "stop",
264
+ "content": "The current weather in Austin, TX is 82 F and sunny.",
265
+ "tool_calls": [],
266
+ "usage": {
267
+ "prompt_tokens": 405,
268
+ "completion_tokens": 15,
269
+ "total_tokens": 420,
270
+ "prompt_tokens_details": {
271
+ "cached_tokens": 0
272
+ }
273
+ }
274
+ },
275
+ {
276
+ "name": "tool_result_final_calc",
277
+ "passed": true,
278
+ "failure": null,
279
+ "elapsed_s": 0.794,
280
+ "finish_reason": "stop",
281
+ "content": "The result of 18.5 multiplied by 42 is **777**.",
282
+ "tool_calls": [],
283
+ "usage": {
284
+ "prompt_tokens": 379,
285
+ "completion_tokens": 16,
286
+ "total_tokens": 395,
287
+ "prompt_tokens_details": {
288
+ "cached_tokens": 0
289
+ }
290
+ }
291
+ }
292
+ ]
293
+ }
evals/iter02_pretrain_colloquial_openai_parser_disabled.json ADDED
@@ -0,0 +1,632 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "endpoint": "http://127.0.0.1:8081/v1/chat/completions",
3
+ "model": "release_work/model_upload",
4
+ "tools": [
5
+ "browser_navigate",
6
+ "terminal",
7
+ "read_file",
8
+ "write_file",
9
+ "search_files",
10
+ "calculator"
11
+ ],
12
+ "summary": {
13
+ "passed": 16,
14
+ "total": 20,
15
+ "overall_rate": 0.8,
16
+ "tool_cases": 13,
17
+ "structured_tool_cases_passed": 9,
18
+ "structured_tool_rate": 0.6923,
19
+ "no_tool_cases": 4,
20
+ "no_tool_cases_passed": 4,
21
+ "false_positive_tool_rate": 0.0,
22
+ "finalization_cases": 3,
23
+ "finalization_passed": 3,
24
+ "finalization_rate": 1.0,
25
+ "finish_reason_tool_calls": 13,
26
+ "content_text_tool_leaks": 0,
27
+ "category_metrics": {
28
+ "browser": {
29
+ "passed": 4,
30
+ "total": 4,
31
+ "rate": 1.0
32
+ },
33
+ "calculator": {
34
+ "passed": 2,
35
+ "total": 2,
36
+ "rate": 1.0
37
+ },
38
+ "file": {
39
+ "passed": 2,
40
+ "total": 3,
41
+ "rate": 0.6667
42
+ },
43
+ "finalization": {
44
+ "passed": 3,
45
+ "total": 3,
46
+ "rate": 1.0
47
+ },
48
+ "no_tool": {
49
+ "passed": 4,
50
+ "total": 4,
51
+ "rate": 1.0
52
+ },
53
+ "terminal": {
54
+ "passed": 1,
55
+ "total": 4,
56
+ "rate": 0.25
57
+ }
58
+ },
59
+ "failures": {
60
+ "generic_terminal_echo": "wrong_tool:browser_navigate",
61
+ "generic_terminal_pwd": "wrong_tool:browser_navigate",
62
+ "generic_terminal_ls": "wrong_tool:bash",
63
+ "generic_search_repo": "wrong_tool:browser_navigate"
64
+ }
65
+ },
66
+ "results": [
67
+ {
68
+ "name": "generic_weather_austin",
69
+ "category": "browser",
70
+ "passed": true,
71
+ "failure": null,
72
+ "elapsed_s": 0.586,
73
+ "finish_reason": "tool_calls",
74
+ "content": "",
75
+ "tool_calls": [
76
+ {
77
+ "function": {
78
+ "name": "browser_navigate",
79
+ "arguments": "{\"url\": \"https://www.google.com/search?q=Austin+TX+weather\"}"
80
+ },
81
+ "type": "function",
82
+ "id": "96aa1bc6-1c7d-4b88-bec9-8cfc6df60f7b"
83
+ }
84
+ ],
85
+ "tool_name": "browser_navigate",
86
+ "parsed_args": {
87
+ "url": "https://www.google.com/search?q=Austin+TX+weather"
88
+ },
89
+ "text_tool_leak": false,
90
+ "usage": {
91
+ "prompt_tokens": 395,
92
+ "completion_tokens": 27,
93
+ "total_tokens": 422,
94
+ "prompt_tokens_details": {
95
+ "cached_tokens": 0
96
+ }
97
+ }
98
+ },
99
+ {
100
+ "name": "generic_latest_release",
101
+ "category": "browser",
102
+ "passed": true,
103
+ "failure": null,
104
+ "elapsed_s": 0.363,
105
+ "finish_reason": "tool_calls",
106
+ "content": "",
107
+ "tool_calls": [
108
+ {
109
+ "function": {
110
+ "name": "browser_navigate",
111
+ "arguments": "{\"url\": \"https://www.google.com/search?q=MLX+LM+tool+parser+documentation\"}"
112
+ },
113
+ "type": "function",
114
+ "id": "9393469b-b64b-415b-93e9-e1728b86a13b"
115
+ }
116
+ ],
117
+ "tool_name": "browser_navigate",
118
+ "parsed_args": {
119
+ "url": "https://www.google.com/search?q=MLX+LM+tool+parser+documentation"
120
+ },
121
+ "text_tool_leak": false,
122
+ "usage": {
123
+ "prompt_tokens": 399,
124
+ "completion_tokens": 32,
125
+ "total_tokens": 431,
126
+ "prompt_tokens_details": {
127
+ "cached_tokens": 382
128
+ }
129
+ }
130
+ },
131
+ {
132
+ "name": "generic_search_phrase",
133
+ "category": "browser",
134
+ "passed": true,
135
+ "failure": null,
136
+ "elapsed_s": 0.381,
137
+ "finish_reason": "tool_calls",
138
+ "content": "",
139
+ "tool_calls": [
140
+ {
141
+ "function": {
142
+ "name": "browser_navigate",
143
+ "arguments": "{\"url\": \"https://www.google.com/search?q=Liquid+AI+LFM2.5+context+length\"}"
144
+ },
145
+ "type": "function",
146
+ "id": "80f2660c-08cb-4d1e-8e20-b6b7717778f4"
147
+ }
148
+ ],
149
+ "tool_name": "browser_navigate",
150
+ "parsed_args": {
151
+ "url": "https://www.google.com/search?q=Liquid+AI+LFM2.5+context+length"
152
+ },
153
+ "text_tool_leak": false,
154
+ "usage": {
155
+ "prompt_tokens": 399,
156
+ "completion_tokens": 34,
157
+ "total_tokens": 433,
158
+ "prompt_tokens_details": {
159
+ "cached_tokens": 382
160
+ }
161
+ }
162
+ },
163
+ {
164
+ "name": "strict_browser_open",
165
+ "category": "browser",
166
+ "passed": true,
167
+ "failure": null,
168
+ "elapsed_s": 0.389,
169
+ "finish_reason": "tool_calls",
170
+ "content": "",
171
+ "tool_calls": [
172
+ {
173
+ "function": {
174
+ "name": "browser_navigate",
175
+ "arguments": "{\"url\": \"https://www.weather.gov/austin\"}"
176
+ },
177
+ "type": "function",
178
+ "id": "64089585-9fe6-4196-974e-77792b4340f7"
179
+ }
180
+ ],
181
+ "tool_name": "browser_navigate",
182
+ "parsed_args": {
183
+ "url": "https://www.weather.gov/austin"
184
+ },
185
+ "text_tool_leak": false,
186
+ "usage": {
187
+ "prompt_tokens": 419,
188
+ "completion_tokens": 20,
189
+ "total_tokens": 439,
190
+ "prompt_tokens_details": {
191
+ "cached_tokens": 0
192
+ }
193
+ }
194
+ },
195
+ {
196
+ "name": "generic_terminal_echo",
197
+ "category": "terminal",
198
+ "passed": false,
199
+ "failure": "wrong_tool:browser_navigate",
200
+ "elapsed_s": 0.35,
201
+ "finish_reason": "tool_calls",
202
+ "content": "",
203
+ "tool_calls": [
204
+ {
205
+ "function": {
206
+ "name": "browser_navigate",
207
+ "arguments": "{\"url\": \"echo hermes-tool-test\"}"
208
+ },
209
+ "type": "function",
210
+ "id": "b1a4c3cf-4ec8-4633-92be-626517158ce2"
211
+ }
212
+ ],
213
+ "tool_name": "browser_navigate",
214
+ "parsed_args": {
215
+ "url": "echo hermes-tool-test"
216
+ },
217
+ "text_tool_leak": false,
218
+ "usage": {
219
+ "prompt_tokens": 394,
220
+ "completion_tokens": 17,
221
+ "total_tokens": 411,
222
+ "prompt_tokens_details": {
223
+ "cached_tokens": 0
224
+ }
225
+ }
226
+ },
227
+ {
228
+ "name": "generic_terminal_pwd",
229
+ "category": "terminal",
230
+ "passed": false,
231
+ "failure": "wrong_tool:browser_navigate",
232
+ "elapsed_s": 0.175,
233
+ "finish_reason": "tool_calls",
234
+ "content": "",
235
+ "tool_calls": [
236
+ {
237
+ "function": {
238
+ "name": "browser_navigate",
239
+ "arguments": "{\"url\": \"pwd\"}"
240
+ },
241
+ "type": "function",
242
+ "id": "59fa2479-dbdf-4152-b870-7c2e6e571f3e"
243
+ }
244
+ ],
245
+ "tool_name": "browser_navigate",
246
+ "parsed_args": {
247
+ "url": "pwd"
248
+ },
249
+ "text_tool_leak": false,
250
+ "usage": {
251
+ "prompt_tokens": 390,
252
+ "completion_tokens": 12,
253
+ "total_tokens": 402,
254
+ "prompt_tokens_details": {
255
+ "cached_tokens": 382
256
+ }
257
+ }
258
+ },
259
+ {
260
+ "name": "generic_terminal_ls",
261
+ "category": "terminal",
262
+ "passed": false,
263
+ "failure": "wrong_tool:bash",
264
+ "elapsed_s": 0.172,
265
+ "finish_reason": "tool_calls",
266
+ "content": "",
267
+ "tool_calls": [
268
+ {
269
+ "function": {
270
+ "name": "bash",
271
+ "arguments": "{\"command\": \"ls -la\"}"
272
+ },
273
+ "type": "function",
274
+ "id": "4ac82895-2b1a-4b2d-85a9-dad4cdc8e067"
275
+ }
276
+ ],
277
+ "tool_name": "bash",
278
+ "parsed_args": {
279
+ "command": "ls -la"
280
+ },
281
+ "text_tool_leak": false,
282
+ "usage": {
283
+ "prompt_tokens": 392,
284
+ "completion_tokens": 11,
285
+ "total_tokens": 403,
286
+ "prompt_tokens_details": {
287
+ "cached_tokens": 382
288
+ }
289
+ }
290
+ },
291
+ {
292
+ "name": "strict_terminal_python",
293
+ "category": "terminal",
294
+ "passed": true,
295
+ "failure": null,
296
+ "elapsed_s": 0.326,
297
+ "finish_reason": "tool_calls",
298
+ "content": "",
299
+ "tool_calls": [
300
+ {
301
+ "function": {
302
+ "name": "terminal",
303
+ "arguments": "{\"command\": \"python3 --version\"}"
304
+ },
305
+ "type": "function",
306
+ "id": "d1c42443-f012-4a98-9e81-caf2e13931a9"
307
+ }
308
+ ],
309
+ "tool_name": "terminal",
310
+ "parsed_args": {
311
+ "command": "python3 --version"
312
+ },
313
+ "text_tool_leak": false,
314
+ "usage": {
315
+ "prompt_tokens": 418,
316
+ "completion_tokens": 13,
317
+ "total_tokens": 431,
318
+ "prompt_tokens_details": {
319
+ "cached_tokens": 0
320
+ }
321
+ }
322
+ },
323
+ {
324
+ "name": "generic_read_file",
325
+ "category": "file",
326
+ "passed": true,
327
+ "failure": null,
328
+ "elapsed_s": 0.365,
329
+ "finish_reason": "tool_calls",
330
+ "content": "",
331
+ "tool_calls": [
332
+ {
333
+ "function": {
334
+ "name": "read_file",
335
+ "arguments": "{\"path\": \"/tmp/hermes_eval_marker.txt\"}"
336
+ },
337
+ "type": "function",
338
+ "id": "9def437b-cff2-4b1e-bf05-304b46115bf0"
339
+ }
340
+ ],
341
+ "tool_name": "read_file",
342
+ "parsed_args": {
343
+ "path": "/tmp/hermes_eval_marker.txt"
344
+ },
345
+ "text_tool_leak": false,
346
+ "usage": {
347
+ "prompt_tokens": 398,
348
+ "completion_tokens": 18,
349
+ "total_tokens": 416,
350
+ "prompt_tokens_details": {
351
+ "cached_tokens": 0
352
+ }
353
+ }
354
+ },
355
+ {
356
+ "name": "generic_search_repo",
357
+ "category": "file",
358
+ "passed": false,
359
+ "failure": "wrong_tool:browser_navigate",
360
+ "elapsed_s": 0.33,
361
+ "finish_reason": "tool_calls",
362
+ "content": "",
363
+ "tool_calls": [
364
+ {
365
+ "function": {
366
+ "name": "browser_navigate",
367
+ "arguments": "{\"url\": \"https://github.com/search?q=browser%20navigate&type=code\"}"
368
+ },
369
+ "type": "function",
370
+ "id": "7f0721ec-9ac4-4b32-9b0b-a833dcf1112f"
371
+ }
372
+ ],
373
+ "tool_name": "browser_navigate",
374
+ "parsed_args": {
375
+ "url": "https://github.com/search?q=browser%20navigate&type=code"
376
+ },
377
+ "text_tool_leak": false,
378
+ "usage": {
379
+ "prompt_tokens": 395,
380
+ "completion_tokens": 29,
381
+ "total_tokens": 424,
382
+ "prompt_tokens_details": {
383
+ "cached_tokens": 382
384
+ }
385
+ }
386
+ },
387
+ {
388
+ "name": "generic_write_file",
389
+ "category": "file",
390
+ "passed": true,
391
+ "failure": null,
392
+ "elapsed_s": 0.265,
393
+ "finish_reason": "tool_calls",
394
+ "content": "",
395
+ "tool_calls": [
396
+ {
397
+ "function": {
398
+ "name": "write_file",
399
+ "arguments": "{\"path\": \"/tmp/hermes_router_note.txt\", \"content\": \"hello\"}"
400
+ },
401
+ "type": "function",
402
+ "id": "95f7f039-3945-450f-9211-8ffa31861664"
403
+ }
404
+ ],
405
+ "tool_name": "write_file",
406
+ "parsed_args": {
407
+ "path": "/tmp/hermes_router_note.txt",
408
+ "content": "hello"
409
+ },
410
+ "text_tool_leak": false,
411
+ "usage": {
412
+ "prompt_tokens": 400,
413
+ "completion_tokens": 22,
414
+ "total_tokens": 422,
415
+ "prompt_tokens_details": {
416
+ "cached_tokens": 382
417
+ }
418
+ }
419
+ },
420
+ {
421
+ "name": "generic_calculator",
422
+ "category": "calculator",
423
+ "passed": true,
424
+ "failure": null,
425
+ "elapsed_s": 0.216,
426
+ "finish_reason": "tool_calls",
427
+ "content": "",
428
+ "tool_calls": [
429
+ {
430
+ "function": {
431
+ "name": "calculator",
432
+ "arguments": "{\"expression\": \"18.5 * 42\"}"
433
+ },
434
+ "type": "function",
435
+ "id": "d2329286-f351-4dd3-bd81-62b5e0e07503"
436
+ }
437
+ ],
438
+ "tool_name": "calculator",
439
+ "parsed_args": {
440
+ "expression": "18.5 * 42"
441
+ },
442
+ "text_tool_leak": false,
443
+ "usage": {
444
+ "prompt_tokens": 397,
445
+ "completion_tokens": 16,
446
+ "total_tokens": 413,
447
+ "prompt_tokens_details": {
448
+ "cached_tokens": 382
449
+ }
450
+ }
451
+ },
452
+ {
453
+ "name": "generic_calculator_2",
454
+ "category": "calculator",
455
+ "passed": true,
456
+ "failure": null,
457
+ "elapsed_s": 0.243,
458
+ "finish_reason": "tool_calls",
459
+ "content": "",
460
+ "tool_calls": [
461
+ {
462
+ "function": {
463
+ "name": "calculator",
464
+ "arguments": "{\"expression\": \"(23 + 19) * 2\"}"
465
+ },
466
+ "type": "function",
467
+ "id": "d3f2d084-9db7-4be5-9eaf-b686b2ec0ed8"
468
+ }
469
+ ],
470
+ "tool_name": "calculator",
471
+ "parsed_args": {
472
+ "expression": "(23 + 19) * 2"
473
+ },
474
+ "text_tool_leak": false,
475
+ "usage": {
476
+ "prompt_tokens": 397,
477
+ "completion_tokens": 19,
478
+ "total_tokens": 416,
479
+ "prompt_tokens_details": {
480
+ "cached_tokens": 382
481
+ }
482
+ }
483
+ },
484
+ {
485
+ "name": "no_tool_greeting",
486
+ "category": "no_tool",
487
+ "passed": true,
488
+ "failure": null,
489
+ "elapsed_s": 0.157,
490
+ "finish_reason": "stop",
491
+ "content": "Hello! How can I assist you today?",
492
+ "tool_calls": [],
493
+ "tool_name": null,
494
+ "parsed_args": {},
495
+ "text_tool_leak": false,
496
+ "usage": {
497
+ "prompt_tokens": 389,
498
+ "completion_tokens": 10,
499
+ "total_tokens": 399,
500
+ "prompt_tokens_details": {
501
+ "cached_tokens": 382
502
+ }
503
+ }
504
+ },
505
+ {
506
+ "name": "no_tool_explain_router",
507
+ "category": "no_tool",
508
+ "passed": true,
509
+ "failure": null,
510
+ "elapsed_s": 0.344,
511
+ "finish_reason": "stop",
512
+ "content": "A router in a Mixture\u2011of\u2011Experts model selects which expert each input token should be processed by, routing tokens to the appropriate expert.",
513
+ "tool_calls": [],
514
+ "tool_name": null,
515
+ "parsed_args": {},
516
+ "text_tool_leak": false,
517
+ "usage": {
518
+ "prompt_tokens": 401,
519
+ "completion_tokens": 31,
520
+ "total_tokens": 432,
521
+ "prompt_tokens_details": {
522
+ "cached_tokens": 382
523
+ }
524
+ }
525
+ },
526
+ {
527
+ "name": "no_tool_do_not_use",
528
+ "category": "no_tool",
529
+ "passed": true,
530
+ "failure": null,
531
+ "elapsed_s": 0.106,
532
+ "finish_reason": "stop",
533
+ "content": "done",
534
+ "tool_calls": [],
535
+ "tool_name": null,
536
+ "parsed_args": {},
537
+ "text_tool_leak": false,
538
+ "usage": {
539
+ "prompt_tokens": 395,
540
+ "completion_tokens": 2,
541
+ "total_tokens": 397,
542
+ "prompt_tokens_details": {
543
+ "cached_tokens": 382
544
+ }
545
+ }
546
+ },
547
+ {
548
+ "name": "no_tool_word_browser",
549
+ "category": "no_tool",
550
+ "passed": true,
551
+ "failure": null,
552
+ "elapsed_s": 0.231,
553
+ "finish_reason": "stop",
554
+ "content": "The browser is a software application used to access and view websites on the internet.",
555
+ "tool_calls": [],
556
+ "tool_name": null,
557
+ "parsed_args": {},
558
+ "text_tool_leak": false,
559
+ "usage": {
560
+ "prompt_tokens": 394,
561
+ "completion_tokens": 17,
562
+ "total_tokens": 411,
563
+ "prompt_tokens_details": {
564
+ "cached_tokens": 382
565
+ }
566
+ }
567
+ },
568
+ {
569
+ "name": "finalize_browser_weather",
570
+ "category": "finalization",
571
+ "passed": true,
572
+ "failure": null,
573
+ "elapsed_s": 0.343,
574
+ "finish_reason": "stop",
575
+ "content": "The current weather in Austin, TX is 82\u00b0F and sunny.",
576
+ "tool_calls": [],
577
+ "tool_name": null,
578
+ "parsed_args": {},
579
+ "text_tool_leak": false,
580
+ "usage": {
581
+ "prompt_tokens": 467,
582
+ "completion_tokens": 15,
583
+ "total_tokens": 482,
584
+ "prompt_tokens_details": {
585
+ "cached_tokens": 0
586
+ }
587
+ }
588
+ },
589
+ {
590
+ "name": "finalize_terminal_echo",
591
+ "category": "finalization",
592
+ "passed": true,
593
+ "failure": null,
594
+ "elapsed_s": 0.318,
595
+ "finish_reason": "stop",
596
+ "content": "The output of the command is: hermes-tool-test",
597
+ "tool_calls": [],
598
+ "tool_name": null,
599
+ "parsed_args": {},
600
+ "text_tool_leak": false,
601
+ "usage": {
602
+ "prompt_tokens": 450,
603
+ "completion_tokens": 13,
604
+ "total_tokens": 463,
605
+ "prompt_tokens_details": {
606
+ "cached_tokens": 0
607
+ }
608
+ }
609
+ },
610
+ {
611
+ "name": "finalize_calculator_trust",
612
+ "category": "finalization",
613
+ "passed": true,
614
+ "failure": null,
615
+ "elapsed_s": 0.426,
616
+ "finish_reason": "stop",
617
+ "content": "The exact result of multiplying 18.5 by 42 is **777**. \n\nLet me know if you need further assistance!",
618
+ "tool_calls": [],
619
+ "tool_name": null,
620
+ "parsed_args": {},
621
+ "text_tool_leak": false,
622
+ "usage": {
623
+ "prompt_tokens": 449,
624
+ "completion_tokens": 27,
625
+ "total_tokens": 476,
626
+ "prompt_tokens_details": {
627
+ "cached_tokens": 0
628
+ }
629
+ }
630
+ }
631
+ ]
632
+ }
evals/iter03_colloquial_openai_parser_disabled.json ADDED
@@ -0,0 +1,632 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "endpoint": "http://127.0.0.1:8083/v1/chat/completions",
3
+ "model": "release_work/model_upload",
4
+ "tools": [
5
+ "browser_navigate",
6
+ "terminal",
7
+ "read_file",
8
+ "write_file",
9
+ "search_files",
10
+ "calculator"
11
+ ],
12
+ "summary": {
13
+ "passed": 16,
14
+ "total": 20,
15
+ "overall_rate": 0.8,
16
+ "tool_cases": 13,
17
+ "structured_tool_cases_passed": 9,
18
+ "structured_tool_rate": 0.6923,
19
+ "no_tool_cases": 4,
20
+ "no_tool_cases_passed": 4,
21
+ "false_positive_tool_rate": 0.0,
22
+ "finalization_cases": 3,
23
+ "finalization_passed": 3,
24
+ "finalization_rate": 1.0,
25
+ "finish_reason_tool_calls": 13,
26
+ "content_text_tool_leaks": 0,
27
+ "category_metrics": {
28
+ "browser": {
29
+ "passed": 4,
30
+ "total": 4,
31
+ "rate": 1.0
32
+ },
33
+ "calculator": {
34
+ "passed": 2,
35
+ "total": 2,
36
+ "rate": 1.0
37
+ },
38
+ "file": {
39
+ "passed": 2,
40
+ "total": 3,
41
+ "rate": 0.6667
42
+ },
43
+ "finalization": {
44
+ "passed": 3,
45
+ "total": 3,
46
+ "rate": 1.0
47
+ },
48
+ "no_tool": {
49
+ "passed": 4,
50
+ "total": 4,
51
+ "rate": 1.0
52
+ },
53
+ "terminal": {
54
+ "passed": 1,
55
+ "total": 4,
56
+ "rate": 0.25
57
+ }
58
+ },
59
+ "failures": {
60
+ "generic_terminal_echo": "wrong_tool:browser_navigate",
61
+ "generic_terminal_pwd": "wrong_tool:browser_navigate",
62
+ "generic_terminal_ls": "wrong_tool:bash",
63
+ "generic_search_repo": "wrong_tool:browser_navigate"
64
+ }
65
+ },
66
+ "results": [
67
+ {
68
+ "name": "generic_weather_austin",
69
+ "category": "browser",
70
+ "passed": true,
71
+ "failure": null,
72
+ "elapsed_s": 1.888,
73
+ "finish_reason": "tool_calls",
74
+ "content": "",
75
+ "tool_calls": [
76
+ {
77
+ "function": {
78
+ "name": "browser_navigate",
79
+ "arguments": "{\"url\": \"https://www.google.com/search?q=Austin+TX+weather\"}"
80
+ },
81
+ "type": "function",
82
+ "id": "2e078b1c-996e-43ab-8185-fca4e7bcd188"
83
+ }
84
+ ],
85
+ "tool_name": "browser_navigate",
86
+ "parsed_args": {
87
+ "url": "https://www.google.com/search?q=Austin+TX+weather"
88
+ },
89
+ "text_tool_leak": false,
90
+ "usage": {
91
+ "prompt_tokens": 395,
92
+ "completion_tokens": 27,
93
+ "total_tokens": 422,
94
+ "prompt_tokens_details": {
95
+ "cached_tokens": 0
96
+ }
97
+ }
98
+ },
99
+ {
100
+ "name": "generic_latest_release",
101
+ "category": "browser",
102
+ "passed": true,
103
+ "failure": null,
104
+ "elapsed_s": 1.209,
105
+ "finish_reason": "tool_calls",
106
+ "content": "",
107
+ "tool_calls": [
108
+ {
109
+ "function": {
110
+ "name": "browser_navigate",
111
+ "arguments": "{\"url\": \"https://www.google.com/search?q=MLX+LM+tool+parser+documentation\"}"
112
+ },
113
+ "type": "function",
114
+ "id": "94f28d40-94e3-4a5c-b454-896d28fdbb3c"
115
+ }
116
+ ],
117
+ "tool_name": "browser_navigate",
118
+ "parsed_args": {
119
+ "url": "https://www.google.com/search?q=MLX+LM+tool+parser+documentation"
120
+ },
121
+ "text_tool_leak": false,
122
+ "usage": {
123
+ "prompt_tokens": 399,
124
+ "completion_tokens": 32,
125
+ "total_tokens": 431,
126
+ "prompt_tokens_details": {
127
+ "cached_tokens": 382
128
+ }
129
+ }
130
+ },
131
+ {
132
+ "name": "generic_search_phrase",
133
+ "category": "browser",
134
+ "passed": true,
135
+ "failure": null,
136
+ "elapsed_s": 1.49,
137
+ "finish_reason": "tool_calls",
138
+ "content": "",
139
+ "tool_calls": [
140
+ {
141
+ "function": {
142
+ "name": "browser_navigate",
143
+ "arguments": "{\"url\": \"https://www.google.com/search?q=current+Liquid+AI+LFM2.5+context+length\"}"
144
+ },
145
+ "type": "function",
146
+ "id": "a1f4eff5-839b-4618-a6c3-c3c5a81a7578"
147
+ }
148
+ ],
149
+ "tool_name": "browser_navigate",
150
+ "parsed_args": {
151
+ "url": "https://www.google.com/search?q=current+Liquid+AI+LFM2.5+context+length"
152
+ },
153
+ "text_tool_leak": false,
154
+ "usage": {
155
+ "prompt_tokens": 399,
156
+ "completion_tokens": 36,
157
+ "total_tokens": 435,
158
+ "prompt_tokens_details": {
159
+ "cached_tokens": 0
160
+ }
161
+ }
162
+ },
163
+ {
164
+ "name": "strict_browser_open",
165
+ "category": "browser",
166
+ "passed": true,
167
+ "failure": null,
168
+ "elapsed_s": 1.044,
169
+ "finish_reason": "tool_calls",
170
+ "content": "",
171
+ "tool_calls": [
172
+ {
173
+ "function": {
174
+ "name": "browser_navigate",
175
+ "arguments": "{\"url\": \"https://www.weather.gov/austin\"}"
176
+ },
177
+ "type": "function",
178
+ "id": "dcda09d6-65c8-480f-b052-f8ce00c4474a"
179
+ }
180
+ ],
181
+ "tool_name": "browser_navigate",
182
+ "parsed_args": {
183
+ "url": "https://www.weather.gov/austin"
184
+ },
185
+ "text_tool_leak": false,
186
+ "usage": {
187
+ "prompt_tokens": 419,
188
+ "completion_tokens": 20,
189
+ "total_tokens": 439,
190
+ "prompt_tokens_details": {
191
+ "cached_tokens": 0
192
+ }
193
+ }
194
+ },
195
+ {
196
+ "name": "generic_terminal_echo",
197
+ "category": "terminal",
198
+ "passed": false,
199
+ "failure": "wrong_tool:browser_navigate",
200
+ "elapsed_s": 0.896,
201
+ "finish_reason": "tool_calls",
202
+ "content": "",
203
+ "tool_calls": [
204
+ {
205
+ "function": {
206
+ "name": "browser_navigate",
207
+ "arguments": "{\"url\": \"echo hermes-tool-test\"}"
208
+ },
209
+ "type": "function",
210
+ "id": "83ea7fd6-11c9-4ea1-9c94-eabc06773e24"
211
+ }
212
+ ],
213
+ "tool_name": "browser_navigate",
214
+ "parsed_args": {
215
+ "url": "echo hermes-tool-test"
216
+ },
217
+ "text_tool_leak": false,
218
+ "usage": {
219
+ "prompt_tokens": 394,
220
+ "completion_tokens": 17,
221
+ "total_tokens": 411,
222
+ "prompt_tokens_details": {
223
+ "cached_tokens": 0
224
+ }
225
+ }
226
+ },
227
+ {
228
+ "name": "generic_terminal_pwd",
229
+ "category": "terminal",
230
+ "passed": false,
231
+ "failure": "wrong_tool:browser_navigate",
232
+ "elapsed_s": 0.669,
233
+ "finish_reason": "tool_calls",
234
+ "content": "",
235
+ "tool_calls": [
236
+ {
237
+ "function": {
238
+ "name": "browser_navigate",
239
+ "arguments": "{\"url\": \"pwd\"}"
240
+ },
241
+ "type": "function",
242
+ "id": "3519671c-6f22-44d0-bb03-bc00820c2403"
243
+ }
244
+ ],
245
+ "tool_name": "browser_navigate",
246
+ "parsed_args": {
247
+ "url": "pwd"
248
+ },
249
+ "text_tool_leak": false,
250
+ "usage": {
251
+ "prompt_tokens": 390,
252
+ "completion_tokens": 12,
253
+ "total_tokens": 402,
254
+ "prompt_tokens_details": {
255
+ "cached_tokens": 382
256
+ }
257
+ }
258
+ },
259
+ {
260
+ "name": "generic_terminal_ls",
261
+ "category": "terminal",
262
+ "passed": false,
263
+ "failure": "wrong_tool:bash",
264
+ "elapsed_s": 0.73,
265
+ "finish_reason": "tool_calls",
266
+ "content": "",
267
+ "tool_calls": [
268
+ {
269
+ "function": {
270
+ "name": "bash",
271
+ "arguments": "{\"command\": \"ls -la\"}"
272
+ },
273
+ "type": "function",
274
+ "id": "cc76340d-6836-4245-8e55-2fa1018b8438"
275
+ }
276
+ ],
277
+ "tool_name": "bash",
278
+ "parsed_args": {
279
+ "command": "ls -la"
280
+ },
281
+ "text_tool_leak": false,
282
+ "usage": {
283
+ "prompt_tokens": 392,
284
+ "completion_tokens": 11,
285
+ "total_tokens": 403,
286
+ "prompt_tokens_details": {
287
+ "cached_tokens": 0
288
+ }
289
+ }
290
+ },
291
+ {
292
+ "name": "strict_terminal_python",
293
+ "category": "terminal",
294
+ "passed": true,
295
+ "failure": null,
296
+ "elapsed_s": 0.834,
297
+ "finish_reason": "tool_calls",
298
+ "content": "",
299
+ "tool_calls": [
300
+ {
301
+ "function": {
302
+ "name": "terminal",
303
+ "arguments": "{\"command\": \"python --version\"}"
304
+ },
305
+ "type": "function",
306
+ "id": "7ceb289c-2663-4cf4-a8c6-f6ebf1d786d7"
307
+ }
308
+ ],
309
+ "tool_name": "terminal",
310
+ "parsed_args": {
311
+ "command": "python --version"
312
+ },
313
+ "text_tool_leak": false,
314
+ "usage": {
315
+ "prompt_tokens": 418,
316
+ "completion_tokens": 12,
317
+ "total_tokens": 430,
318
+ "prompt_tokens_details": {
319
+ "cached_tokens": 0
320
+ }
321
+ }
322
+ },
323
+ {
324
+ "name": "generic_read_file",
325
+ "category": "file",
326
+ "passed": true,
327
+ "failure": null,
328
+ "elapsed_s": 1.098,
329
+ "finish_reason": "tool_calls",
330
+ "content": "",
331
+ "tool_calls": [
332
+ {
333
+ "function": {
334
+ "name": "read_file",
335
+ "arguments": "{\"path\": \"/tmp/hermes_eval_marker.txt\"}"
336
+ },
337
+ "type": "function",
338
+ "id": "c8797cdb-eb5d-4f84-ac2e-afd81ae64b70"
339
+ }
340
+ ],
341
+ "tool_name": "read_file",
342
+ "parsed_args": {
343
+ "path": "/tmp/hermes_eval_marker.txt"
344
+ },
345
+ "text_tool_leak": false,
346
+ "usage": {
347
+ "prompt_tokens": 398,
348
+ "completion_tokens": 18,
349
+ "total_tokens": 416,
350
+ "prompt_tokens_details": {
351
+ "cached_tokens": 0
352
+ }
353
+ }
354
+ },
355
+ {
356
+ "name": "generic_search_repo",
357
+ "category": "file",
358
+ "passed": false,
359
+ "failure": "wrong_tool:browser_navigate",
360
+ "elapsed_s": 0.941,
361
+ "finish_reason": "tool_calls",
362
+ "content": "",
363
+ "tool_calls": [
364
+ {
365
+ "function": {
366
+ "name": "browser_navigate",
367
+ "arguments": "{\"url\": \"https://github.com/search?q=browser%20navigate&type=code\"}"
368
+ },
369
+ "type": "function",
370
+ "id": "919e5f9a-1329-40ef-8447-ee77c2ff12cd"
371
+ }
372
+ ],
373
+ "tool_name": "browser_navigate",
374
+ "parsed_args": {
375
+ "url": "https://github.com/search?q=browser%20navigate&type=code"
376
+ },
377
+ "text_tool_leak": false,
378
+ "usage": {
379
+ "prompt_tokens": 395,
380
+ "completion_tokens": 29,
381
+ "total_tokens": 424,
382
+ "prompt_tokens_details": {
383
+ "cached_tokens": 382
384
+ }
385
+ }
386
+ },
387
+ {
388
+ "name": "generic_write_file",
389
+ "category": "file",
390
+ "passed": true,
391
+ "failure": null,
392
+ "elapsed_s": 0.294,
393
+ "finish_reason": "tool_calls",
394
+ "content": "",
395
+ "tool_calls": [
396
+ {
397
+ "function": {
398
+ "name": "write_file",
399
+ "arguments": "{\"path\": \"/tmp/hermes_router_note.txt\", \"content\": \"hello\"}"
400
+ },
401
+ "type": "function",
402
+ "id": "f5f807c9-b74a-44ba-aaba-ded77d99e51b"
403
+ }
404
+ ],
405
+ "tool_name": "write_file",
406
+ "parsed_args": {
407
+ "path": "/tmp/hermes_router_note.txt",
408
+ "content": "hello"
409
+ },
410
+ "text_tool_leak": false,
411
+ "usage": {
412
+ "prompt_tokens": 400,
413
+ "completion_tokens": 22,
414
+ "total_tokens": 422,
415
+ "prompt_tokens_details": {
416
+ "cached_tokens": 382
417
+ }
418
+ }
419
+ },
420
+ {
421
+ "name": "generic_calculator",
422
+ "category": "calculator",
423
+ "passed": true,
424
+ "failure": null,
425
+ "elapsed_s": 0.235,
426
+ "finish_reason": "tool_calls",
427
+ "content": "",
428
+ "tool_calls": [
429
+ {
430
+ "function": {
431
+ "name": "calculator",
432
+ "arguments": "{\"expression\": \"18.5 * 42\"}"
433
+ },
434
+ "type": "function",
435
+ "id": "00817b93-7f53-4b82-a1f3-e040debb0a85"
436
+ }
437
+ ],
438
+ "tool_name": "calculator",
439
+ "parsed_args": {
440
+ "expression": "18.5 * 42"
441
+ },
442
+ "text_tool_leak": false,
443
+ "usage": {
444
+ "prompt_tokens": 397,
445
+ "completion_tokens": 16,
446
+ "total_tokens": 413,
447
+ "prompt_tokens_details": {
448
+ "cached_tokens": 382
449
+ }
450
+ }
451
+ },
452
+ {
453
+ "name": "generic_calculator_2",
454
+ "category": "calculator",
455
+ "passed": true,
456
+ "failure": null,
457
+ "elapsed_s": 0.264,
458
+ "finish_reason": "tool_calls",
459
+ "content": "",
460
+ "tool_calls": [
461
+ {
462
+ "function": {
463
+ "name": "calculator",
464
+ "arguments": "{\"expression\": \"(23 + 19) * 2\"}"
465
+ },
466
+ "type": "function",
467
+ "id": "9d83fa08-5a22-4a86-aa59-eced87178ffa"
468
+ }
469
+ ],
470
+ "tool_name": "calculator",
471
+ "parsed_args": {
472
+ "expression": "(23 + 19) * 2"
473
+ },
474
+ "text_tool_leak": false,
475
+ "usage": {
476
+ "prompt_tokens": 397,
477
+ "completion_tokens": 19,
478
+ "total_tokens": 416,
479
+ "prompt_tokens_details": {
480
+ "cached_tokens": 382
481
+ }
482
+ }
483
+ },
484
+ {
485
+ "name": "no_tool_greeting",
486
+ "category": "no_tool",
487
+ "passed": true,
488
+ "failure": null,
489
+ "elapsed_s": 0.173,
490
+ "finish_reason": "stop",
491
+ "content": "Hello! How can I assist you today?",
492
+ "tool_calls": [],
493
+ "tool_name": null,
494
+ "parsed_args": {},
495
+ "text_tool_leak": false,
496
+ "usage": {
497
+ "prompt_tokens": 389,
498
+ "completion_tokens": 10,
499
+ "total_tokens": 399,
500
+ "prompt_tokens_details": {
501
+ "cached_tokens": 382
502
+ }
503
+ }
504
+ },
505
+ {
506
+ "name": "no_tool_explain_router",
507
+ "category": "no_tool",
508
+ "passed": true,
509
+ "failure": null,
510
+ "elapsed_s": 0.382,
511
+ "finish_reason": "stop",
512
+ "content": "A router in a Mixture\u2011of\u2011Experts model selects which expert each input token should be processed by, routing tokens to the appropriate expert.",
513
+ "tool_calls": [],
514
+ "tool_name": null,
515
+ "parsed_args": {},
516
+ "text_tool_leak": false,
517
+ "usage": {
518
+ "prompt_tokens": 401,
519
+ "completion_tokens": 31,
520
+ "total_tokens": 432,
521
+ "prompt_tokens_details": {
522
+ "cached_tokens": 382
523
+ }
524
+ }
525
+ },
526
+ {
527
+ "name": "no_tool_do_not_use",
528
+ "category": "no_tool",
529
+ "passed": true,
530
+ "failure": null,
531
+ "elapsed_s": 0.112,
532
+ "finish_reason": "stop",
533
+ "content": "done",
534
+ "tool_calls": [],
535
+ "tool_name": null,
536
+ "parsed_args": {},
537
+ "text_tool_leak": false,
538
+ "usage": {
539
+ "prompt_tokens": 395,
540
+ "completion_tokens": 2,
541
+ "total_tokens": 397,
542
+ "prompt_tokens_details": {
543
+ "cached_tokens": 382
544
+ }
545
+ }
546
+ },
547
+ {
548
+ "name": "no_tool_word_browser",
549
+ "category": "no_tool",
550
+ "passed": true,
551
+ "failure": null,
552
+ "elapsed_s": 0.245,
553
+ "finish_reason": "stop",
554
+ "content": "The browser is a software application used to access and view websites on the internet.",
555
+ "tool_calls": [],
556
+ "tool_name": null,
557
+ "parsed_args": {},
558
+ "text_tool_leak": false,
559
+ "usage": {
560
+ "prompt_tokens": 394,
561
+ "completion_tokens": 17,
562
+ "total_tokens": 411,
563
+ "prompt_tokens_details": {
564
+ "cached_tokens": 382
565
+ }
566
+ }
567
+ },
568
+ {
569
+ "name": "finalize_browser_weather",
570
+ "category": "finalization",
571
+ "passed": true,
572
+ "failure": null,
573
+ "elapsed_s": 0.43,
574
+ "finish_reason": "stop",
575
+ "content": "The current weather in Austin, TX is 82\u00b0F and sunny.",
576
+ "tool_calls": [],
577
+ "tool_name": null,
578
+ "parsed_args": {},
579
+ "text_tool_leak": false,
580
+ "usage": {
581
+ "prompt_tokens": 467,
582
+ "completion_tokens": 15,
583
+ "total_tokens": 482,
584
+ "prompt_tokens_details": {
585
+ "cached_tokens": 0
586
+ }
587
+ }
588
+ },
589
+ {
590
+ "name": "finalize_terminal_echo",
591
+ "category": "finalization",
592
+ "passed": true,
593
+ "failure": null,
594
+ "elapsed_s": 0.502,
595
+ "finish_reason": "stop",
596
+ "content": "The output of the command is: hermes-tool-test",
597
+ "tool_calls": [],
598
+ "tool_name": null,
599
+ "parsed_args": {},
600
+ "text_tool_leak": false,
601
+ "usage": {
602
+ "prompt_tokens": 450,
603
+ "completion_tokens": 13,
604
+ "total_tokens": 463,
605
+ "prompt_tokens_details": {
606
+ "cached_tokens": 0
607
+ }
608
+ }
609
+ },
610
+ {
611
+ "name": "finalize_calculator_trust",
612
+ "category": "finalization",
613
+ "passed": true,
614
+ "failure": null,
615
+ "elapsed_s": 0.696,
616
+ "finish_reason": "stop",
617
+ "content": "The exact result of multiplying 18.5 by 42 is **777**. \n\nLet me know if you need further assistance!",
618
+ "tool_calls": [],
619
+ "tool_name": null,
620
+ "parsed_args": {},
621
+ "text_tool_leak": false,
622
+ "usage": {
623
+ "prompt_tokens": 449,
624
+ "completion_tokens": 27,
625
+ "total_tokens": 476,
626
+ "prompt_tokens_details": {
627
+ "cached_tokens": 0
628
+ }
629
+ }
630
+ }
631
+ ]
632
+ }
evals/iter03_openai_tool_calls_parser_disabled.json ADDED
@@ -0,0 +1,293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "endpoint": "http://127.0.0.1:8083/v1/chat/completions",
3
+ "model": "release_work/model_upload",
4
+ "summary": {
5
+ "passed": 12,
6
+ "total": 12,
7
+ "tool_cases": 8,
8
+ "structured_tool_cases_passed": 8,
9
+ "no_tool_cases": 4,
10
+ "no_tool_cases_passed": 4,
11
+ "finish_reason_tool_calls": 8,
12
+ "content_text_tool_leaks": 0,
13
+ "failures": {}
14
+ },
15
+ "results": [
16
+ {
17
+ "name": "browser_weather",
18
+ "passed": true,
19
+ "failure": null,
20
+ "elapsed_s": 1.888,
21
+ "finish_reason": "tool_calls",
22
+ "content": "",
23
+ "tool_calls": [
24
+ {
25
+ "function": {
26
+ "name": "browser_navigate",
27
+ "arguments": "{\"url\": \"https://www.google.com/search?q=Austin+TX+weather\"}"
28
+ },
29
+ "type": "function",
30
+ "id": "788457c5-a091-4e54-b03b-7fec5b9dbd26"
31
+ }
32
+ ],
33
+ "usage": {
34
+ "prompt_tokens": 354,
35
+ "completion_tokens": 27,
36
+ "total_tokens": 381,
37
+ "prompt_tokens_details": {
38
+ "cached_tokens": 0
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "browser_docs",
44
+ "passed": true,
45
+ "failure": null,
46
+ "elapsed_s": 1.219,
47
+ "finish_reason": "tool_calls",
48
+ "content": "",
49
+ "tool_calls": [
50
+ {
51
+ "function": {
52
+ "name": "browser_navigate",
53
+ "arguments": "{\"url\": \"https://www.google.com/search?q=MLX+LM+tool+parser+documentation\"}"
54
+ },
55
+ "type": "function",
56
+ "id": "6942ca45-c8e0-4e59-b5a1-2cc1e14b86e8"
57
+ }
58
+ ],
59
+ "usage": {
60
+ "prompt_tokens": 353,
61
+ "completion_tokens": 32,
62
+ "total_tokens": 385,
63
+ "prompt_tokens_details": {
64
+ "cached_tokens": 0
65
+ }
66
+ }
67
+ },
68
+ {
69
+ "name": "calculator_simple",
70
+ "passed": true,
71
+ "failure": null,
72
+ "elapsed_s": 0.985,
73
+ "finish_reason": "tool_calls",
74
+ "content": "",
75
+ "tool_calls": [
76
+ {
77
+ "function": {
78
+ "name": "calculator",
79
+ "arguments": "{\"expression\": \"(23 + 19) * 2\"}"
80
+ },
81
+ "type": "function",
82
+ "id": "412fe9fd-e37c-4bda-8891-edb9f17eb7e8"
83
+ }
84
+ ],
85
+ "usage": {
86
+ "prompt_tokens": 355,
87
+ "completion_tokens": 19,
88
+ "total_tokens": 374,
89
+ "prompt_tokens_details": {
90
+ "cached_tokens": 336
91
+ }
92
+ }
93
+ },
94
+ {
95
+ "name": "calculator_decimal",
96
+ "passed": true,
97
+ "failure": null,
98
+ "elapsed_s": 0.631,
99
+ "finish_reason": "tool_calls",
100
+ "content": "",
101
+ "tool_calls": [
102
+ {
103
+ "function": {
104
+ "name": "calculator",
105
+ "arguments": "{\"expression\": \"18.5 * 42\"}"
106
+ },
107
+ "type": "function",
108
+ "id": "6cb3e0d4-d6e7-4ef6-8127-90cf50416979"
109
+ }
110
+ ],
111
+ "usage": {
112
+ "prompt_tokens": 353,
113
+ "completion_tokens": 16,
114
+ "total_tokens": 369,
115
+ "prompt_tokens_details": {
116
+ "cached_tokens": 0
117
+ }
118
+ }
119
+ },
120
+ {
121
+ "name": "terminal_pwd",
122
+ "passed": true,
123
+ "failure": null,
124
+ "elapsed_s": 0.799,
125
+ "finish_reason": "tool_calls",
126
+ "content": "",
127
+ "tool_calls": [
128
+ {
129
+ "function": {
130
+ "name": "terminal",
131
+ "arguments": "{\"command\": \"pwd\"}"
132
+ },
133
+ "type": "function",
134
+ "id": "64147425-124d-4c3b-9e1f-6d4d5611c33d"
135
+ }
136
+ ],
137
+ "usage": {
138
+ "prompt_tokens": 347,
139
+ "completion_tokens": 10,
140
+ "total_tokens": 357,
141
+ "prompt_tokens_details": {
142
+ "cached_tokens": 336
143
+ }
144
+ }
145
+ },
146
+ {
147
+ "name": "terminal_echo",
148
+ "passed": true,
149
+ "failure": null,
150
+ "elapsed_s": 0.986,
151
+ "finish_reason": "tool_calls",
152
+ "content": "",
153
+ "tool_calls": [
154
+ {
155
+ "function": {
156
+ "name": "terminal",
157
+ "arguments": "{\"command\": \"echo hermes-tool-test\"}"
158
+ },
159
+ "type": "function",
160
+ "id": "472ebb64-45a9-474f-b234-c0c70a63f6a6"
161
+ }
162
+ ],
163
+ "usage": {
164
+ "prompt_tokens": 352,
165
+ "completion_tokens": 15,
166
+ "total_tokens": 367,
167
+ "prompt_tokens_details": {
168
+ "cached_tokens": 0
169
+ }
170
+ }
171
+ },
172
+ {
173
+ "name": "read_file",
174
+ "passed": true,
175
+ "failure": null,
176
+ "elapsed_s": 0.753,
177
+ "finish_reason": "tool_calls",
178
+ "content": "",
179
+ "tool_calls": [
180
+ {
181
+ "function": {
182
+ "name": "read_file",
183
+ "arguments": "{\"path\": \"/tmp/hermes_eval_marker.txt\"}"
184
+ },
185
+ "type": "function",
186
+ "id": "1793052f-6297-4754-8cdc-60784b9456e9"
187
+ }
188
+ ],
189
+ "usage": {
190
+ "prompt_tokens": 355,
191
+ "completion_tokens": 18,
192
+ "total_tokens": 373,
193
+ "prompt_tokens_details": {
194
+ "cached_tokens": 0
195
+ }
196
+ }
197
+ },
198
+ {
199
+ "name": "search_files",
200
+ "passed": true,
201
+ "failure": null,
202
+ "elapsed_s": 0.698,
203
+ "finish_reason": "tool_calls",
204
+ "content": "",
205
+ "tool_calls": [
206
+ {
207
+ "function": {
208
+ "name": "search_files",
209
+ "arguments": "{\"pattern\": \"hermes-tool-test\"}"
210
+ },
211
+ "type": "function",
212
+ "id": "616529f0-cb50-4f96-a1d8-dbf5c645c6cc"
213
+ }
214
+ ],
215
+ "usage": {
216
+ "prompt_tokens": 352,
217
+ "completion_tokens": 15,
218
+ "total_tokens": 367,
219
+ "prompt_tokens_details": {
220
+ "cached_tokens": 336
221
+ }
222
+ }
223
+ },
224
+ {
225
+ "name": "no_tool_greeting",
226
+ "passed": true,
227
+ "failure": null,
228
+ "elapsed_s": 0.566,
229
+ "finish_reason": "stop",
230
+ "content": "Hello!",
231
+ "tool_calls": [],
232
+ "usage": {
233
+ "prompt_tokens": 353,
234
+ "completion_tokens": 3,
235
+ "total_tokens": 356,
236
+ "prompt_tokens_details": {
237
+ "cached_tokens": 0
238
+ }
239
+ }
240
+ },
241
+ {
242
+ "name": "no_tool_explain",
243
+ "passed": true,
244
+ "failure": null,
245
+ "elapsed_s": 0.497,
246
+ "finish_reason": "stop",
247
+ "content": "A router in a Mixture\u2011of\u2011Experts model selects which expert each input token should pass to, routing the token to the appropriate expert's output.",
248
+ "tool_calls": [],
249
+ "usage": {
250
+ "prompt_tokens": 361,
251
+ "completion_tokens": 33,
252
+ "total_tokens": 394,
253
+ "prompt_tokens_details": {
254
+ "cached_tokens": 336
255
+ }
256
+ }
257
+ },
258
+ {
259
+ "name": "tool_result_final_browser",
260
+ "passed": true,
261
+ "failure": null,
262
+ "elapsed_s": 0.796,
263
+ "finish_reason": "stop",
264
+ "content": "The current weather in Austin, TX is 82 F and sunny.",
265
+ "tool_calls": [],
266
+ "usage": {
267
+ "prompt_tokens": 405,
268
+ "completion_tokens": 15,
269
+ "total_tokens": 420,
270
+ "prompt_tokens_details": {
271
+ "cached_tokens": 336
272
+ }
273
+ }
274
+ },
275
+ {
276
+ "name": "tool_result_final_calc",
277
+ "passed": true,
278
+ "failure": null,
279
+ "elapsed_s": 0.858,
280
+ "finish_reason": "stop",
281
+ "content": "The result of 18.5 multiplied by 42 is **777**.",
282
+ "tool_calls": [],
283
+ "usage": {
284
+ "prompt_tokens": 379,
285
+ "completion_tokens": 16,
286
+ "total_tokens": 395,
287
+ "prompt_tokens_details": {
288
+ "cached_tokens": 0
289
+ }
290
+ }
291
+ }
292
+ ]
293
+ }
evals/iter04_masked_colloquial_openai_parser_disabled.json ADDED
@@ -0,0 +1,632 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "endpoint": "http://127.0.0.1:8084/v1/chat/completions",
3
+ "model": "release_work/model_upload",
4
+ "tools": [
5
+ "browser_navigate",
6
+ "terminal",
7
+ "read_file",
8
+ "write_file",
9
+ "search_files",
10
+ "calculator"
11
+ ],
12
+ "summary": {
13
+ "passed": 16,
14
+ "total": 20,
15
+ "overall_rate": 0.8,
16
+ "tool_cases": 13,
17
+ "structured_tool_cases_passed": 9,
18
+ "structured_tool_rate": 0.6923,
19
+ "no_tool_cases": 4,
20
+ "no_tool_cases_passed": 4,
21
+ "false_positive_tool_rate": 0.0,
22
+ "finalization_cases": 3,
23
+ "finalization_passed": 3,
24
+ "finalization_rate": 1.0,
25
+ "finish_reason_tool_calls": 13,
26
+ "content_text_tool_leaks": 0,
27
+ "category_metrics": {
28
+ "browser": {
29
+ "passed": 4,
30
+ "total": 4,
31
+ "rate": 1.0
32
+ },
33
+ "calculator": {
34
+ "passed": 2,
35
+ "total": 2,
36
+ "rate": 1.0
37
+ },
38
+ "file": {
39
+ "passed": 2,
40
+ "total": 3,
41
+ "rate": 0.6667
42
+ },
43
+ "finalization": {
44
+ "passed": 3,
45
+ "total": 3,
46
+ "rate": 1.0
47
+ },
48
+ "no_tool": {
49
+ "passed": 4,
50
+ "total": 4,
51
+ "rate": 1.0
52
+ },
53
+ "terminal": {
54
+ "passed": 1,
55
+ "total": 4,
56
+ "rate": 0.25
57
+ }
58
+ },
59
+ "failures": {
60
+ "generic_terminal_echo": "wrong_tool:browser_navigate",
61
+ "generic_terminal_pwd": "wrong_tool:browser_navigate",
62
+ "generic_terminal_ls": "wrong_tool:bash",
63
+ "generic_search_repo": "wrong_tool:browser_navigate"
64
+ }
65
+ },
66
+ "results": [
67
+ {
68
+ "name": "generic_weather_austin",
69
+ "category": "browser",
70
+ "passed": true,
71
+ "failure": null,
72
+ "elapsed_s": 1.319,
73
+ "finish_reason": "tool_calls",
74
+ "content": "",
75
+ "tool_calls": [
76
+ {
77
+ "function": {
78
+ "name": "browser_navigate",
79
+ "arguments": "{\"url\": \"https://www.google.com/search?q=Austin+TX+weather\"}"
80
+ },
81
+ "type": "function",
82
+ "id": "5e4df18b-2a11-4de6-8c65-72a2898a2d2e"
83
+ }
84
+ ],
85
+ "tool_name": "browser_navigate",
86
+ "parsed_args": {
87
+ "url": "https://www.google.com/search?q=Austin+TX+weather"
88
+ },
89
+ "text_tool_leak": false,
90
+ "usage": {
91
+ "prompt_tokens": 395,
92
+ "completion_tokens": 27,
93
+ "total_tokens": 422,
94
+ "prompt_tokens_details": {
95
+ "cached_tokens": 0
96
+ }
97
+ }
98
+ },
99
+ {
100
+ "name": "generic_latest_release",
101
+ "category": "browser",
102
+ "passed": true,
103
+ "failure": null,
104
+ "elapsed_s": 1.003,
105
+ "finish_reason": "tool_calls",
106
+ "content": "",
107
+ "tool_calls": [
108
+ {
109
+ "function": {
110
+ "name": "browser_navigate",
111
+ "arguments": "{\"url\": \"https://www.google.com/search?q=MLX+LM+tool+parser+documentation\"}"
112
+ },
113
+ "type": "function",
114
+ "id": "4c23117c-b909-41b0-8e5c-86ed2da1e958"
115
+ }
116
+ ],
117
+ "tool_name": "browser_navigate",
118
+ "parsed_args": {
119
+ "url": "https://www.google.com/search?q=MLX+LM+tool+parser+documentation"
120
+ },
121
+ "text_tool_leak": false,
122
+ "usage": {
123
+ "prompt_tokens": 399,
124
+ "completion_tokens": 32,
125
+ "total_tokens": 431,
126
+ "prompt_tokens_details": {
127
+ "cached_tokens": 382
128
+ }
129
+ }
130
+ },
131
+ {
132
+ "name": "generic_search_phrase",
133
+ "category": "browser",
134
+ "passed": true,
135
+ "failure": null,
136
+ "elapsed_s": 0.869,
137
+ "finish_reason": "tool_calls",
138
+ "content": "",
139
+ "tool_calls": [
140
+ {
141
+ "function": {
142
+ "name": "browser_navigate",
143
+ "arguments": "{\"url\": \"https://www.google.com/search?q=current+Liquid+AI+LFM2.5+context+length\"}"
144
+ },
145
+ "type": "function",
146
+ "id": "0adeafeb-3af4-48ce-ae80-97fc18561cab"
147
+ }
148
+ ],
149
+ "tool_name": "browser_navigate",
150
+ "parsed_args": {
151
+ "url": "https://www.google.com/search?q=current+Liquid+AI+LFM2.5+context+length"
152
+ },
153
+ "text_tool_leak": false,
154
+ "usage": {
155
+ "prompt_tokens": 399,
156
+ "completion_tokens": 36,
157
+ "total_tokens": 435,
158
+ "prompt_tokens_details": {
159
+ "cached_tokens": 0
160
+ }
161
+ }
162
+ },
163
+ {
164
+ "name": "strict_browser_open",
165
+ "category": "browser",
166
+ "passed": true,
167
+ "failure": null,
168
+ "elapsed_s": 0.7,
169
+ "finish_reason": "tool_calls",
170
+ "content": "",
171
+ "tool_calls": [
172
+ {
173
+ "function": {
174
+ "name": "browser_navigate",
175
+ "arguments": "{\"url\": \"https://www.weather.gov/austin\"}"
176
+ },
177
+ "type": "function",
178
+ "id": "1a77a123-c21b-489a-a6b7-35d36c54cb3d"
179
+ }
180
+ ],
181
+ "tool_name": "browser_navigate",
182
+ "parsed_args": {
183
+ "url": "https://www.weather.gov/austin"
184
+ },
185
+ "text_tool_leak": false,
186
+ "usage": {
187
+ "prompt_tokens": 419,
188
+ "completion_tokens": 20,
189
+ "total_tokens": 439,
190
+ "prompt_tokens_details": {
191
+ "cached_tokens": 0
192
+ }
193
+ }
194
+ },
195
+ {
196
+ "name": "generic_terminal_echo",
197
+ "category": "terminal",
198
+ "passed": false,
199
+ "failure": "wrong_tool:browser_navigate",
200
+ "elapsed_s": 0.825,
201
+ "finish_reason": "tool_calls",
202
+ "content": "",
203
+ "tool_calls": [
204
+ {
205
+ "function": {
206
+ "name": "browser_navigate",
207
+ "arguments": "{\"url\": \"echo hermes-tool-test\"}"
208
+ },
209
+ "type": "function",
210
+ "id": "65e1b39d-70e1-4c28-8c16-d73d12e28794"
211
+ }
212
+ ],
213
+ "tool_name": "browser_navigate",
214
+ "parsed_args": {
215
+ "url": "echo hermes-tool-test"
216
+ },
217
+ "text_tool_leak": false,
218
+ "usage": {
219
+ "prompt_tokens": 394,
220
+ "completion_tokens": 17,
221
+ "total_tokens": 411,
222
+ "prompt_tokens_details": {
223
+ "cached_tokens": 0
224
+ }
225
+ }
226
+ },
227
+ {
228
+ "name": "generic_terminal_pwd",
229
+ "category": "terminal",
230
+ "passed": false,
231
+ "failure": "wrong_tool:browser_navigate",
232
+ "elapsed_s": 0.703,
233
+ "finish_reason": "tool_calls",
234
+ "content": "",
235
+ "tool_calls": [
236
+ {
237
+ "function": {
238
+ "name": "browser_navigate",
239
+ "arguments": "{\"url\": \"pwd\"}"
240
+ },
241
+ "type": "function",
242
+ "id": "5e64bf2e-5ca8-4ba1-8a1a-69f83558f8ca"
243
+ }
244
+ ],
245
+ "tool_name": "browser_navigate",
246
+ "parsed_args": {
247
+ "url": "pwd"
248
+ },
249
+ "text_tool_leak": false,
250
+ "usage": {
251
+ "prompt_tokens": 390,
252
+ "completion_tokens": 12,
253
+ "total_tokens": 402,
254
+ "prompt_tokens_details": {
255
+ "cached_tokens": 0
256
+ }
257
+ }
258
+ },
259
+ {
260
+ "name": "generic_terminal_ls",
261
+ "category": "terminal",
262
+ "passed": false,
263
+ "failure": "wrong_tool:bash",
264
+ "elapsed_s": 0.214,
265
+ "finish_reason": "tool_calls",
266
+ "content": "",
267
+ "tool_calls": [
268
+ {
269
+ "function": {
270
+ "name": "bash",
271
+ "arguments": "{\"command\": \"ls -la\"}"
272
+ },
273
+ "type": "function",
274
+ "id": "ba48fef8-3ba7-4834-b88c-a4cfda7f3d5c"
275
+ }
276
+ ],
277
+ "tool_name": "bash",
278
+ "parsed_args": {
279
+ "command": "ls -la"
280
+ },
281
+ "text_tool_leak": false,
282
+ "usage": {
283
+ "prompt_tokens": 392,
284
+ "completion_tokens": 11,
285
+ "total_tokens": 403,
286
+ "prompt_tokens_details": {
287
+ "cached_tokens": 382
288
+ }
289
+ }
290
+ },
291
+ {
292
+ "name": "strict_terminal_python",
293
+ "category": "terminal",
294
+ "passed": true,
295
+ "failure": null,
296
+ "elapsed_s": 0.593,
297
+ "finish_reason": "tool_calls",
298
+ "content": "",
299
+ "tool_calls": [
300
+ {
301
+ "function": {
302
+ "name": "terminal",
303
+ "arguments": "{\"command\": \"python3 --version\"}"
304
+ },
305
+ "type": "function",
306
+ "id": "1538c429-faeb-4c9c-a277-2c7e982d374e"
307
+ }
308
+ ],
309
+ "tool_name": "terminal",
310
+ "parsed_args": {
311
+ "command": "python3 --version"
312
+ },
313
+ "text_tool_leak": false,
314
+ "usage": {
315
+ "prompt_tokens": 418,
316
+ "completion_tokens": 13,
317
+ "total_tokens": 431,
318
+ "prompt_tokens_details": {
319
+ "cached_tokens": 0
320
+ }
321
+ }
322
+ },
323
+ {
324
+ "name": "generic_read_file",
325
+ "category": "file",
326
+ "passed": true,
327
+ "failure": null,
328
+ "elapsed_s": 0.613,
329
+ "finish_reason": "tool_calls",
330
+ "content": "",
331
+ "tool_calls": [
332
+ {
333
+ "function": {
334
+ "name": "read_file",
335
+ "arguments": "{\"path\": \"/tmp/hermes_eval_marker.txt\"}"
336
+ },
337
+ "type": "function",
338
+ "id": "f89eff14-e25f-4d1a-a202-401be3781e8c"
339
+ }
340
+ ],
341
+ "tool_name": "read_file",
342
+ "parsed_args": {
343
+ "path": "/tmp/hermes_eval_marker.txt"
344
+ },
345
+ "text_tool_leak": false,
346
+ "usage": {
347
+ "prompt_tokens": 398,
348
+ "completion_tokens": 18,
349
+ "total_tokens": 416,
350
+ "prompt_tokens_details": {
351
+ "cached_tokens": 0
352
+ }
353
+ }
354
+ },
355
+ {
356
+ "name": "generic_search_repo",
357
+ "category": "file",
358
+ "passed": false,
359
+ "failure": "wrong_tool:browser_navigate",
360
+ "elapsed_s": 0.891,
361
+ "finish_reason": "tool_calls",
362
+ "content": "",
363
+ "tool_calls": [
364
+ {
365
+ "function": {
366
+ "name": "browser_navigate",
367
+ "arguments": "{\"url\": \"https://github.com/search?q=browser%20navigate&type=code\"}"
368
+ },
369
+ "type": "function",
370
+ "id": "9ddfb2d2-7bc1-4eb5-988a-825f1998c6f0"
371
+ }
372
+ ],
373
+ "tool_name": "browser_navigate",
374
+ "parsed_args": {
375
+ "url": "https://github.com/search?q=browser%20navigate&type=code"
376
+ },
377
+ "text_tool_leak": false,
378
+ "usage": {
379
+ "prompt_tokens": 395,
380
+ "completion_tokens": 29,
381
+ "total_tokens": 424,
382
+ "prompt_tokens_details": {
383
+ "cached_tokens": 0
384
+ }
385
+ }
386
+ },
387
+ {
388
+ "name": "generic_write_file",
389
+ "category": "file",
390
+ "passed": true,
391
+ "failure": null,
392
+ "elapsed_s": 0.7,
393
+ "finish_reason": "tool_calls",
394
+ "content": "",
395
+ "tool_calls": [
396
+ {
397
+ "function": {
398
+ "name": "write_file",
399
+ "arguments": "{\"path\": \"/tmp/hermes_router_note.txt\", \"content\": \"hello\"}"
400
+ },
401
+ "type": "function",
402
+ "id": "64ccc584-440f-4ad3-9519-b36176028594"
403
+ }
404
+ ],
405
+ "tool_name": "write_file",
406
+ "parsed_args": {
407
+ "path": "/tmp/hermes_router_note.txt",
408
+ "content": "hello"
409
+ },
410
+ "text_tool_leak": false,
411
+ "usage": {
412
+ "prompt_tokens": 400,
413
+ "completion_tokens": 22,
414
+ "total_tokens": 422,
415
+ "prompt_tokens_details": {
416
+ "cached_tokens": 382
417
+ }
418
+ }
419
+ },
420
+ {
421
+ "name": "generic_calculator",
422
+ "category": "calculator",
423
+ "passed": true,
424
+ "failure": null,
425
+ "elapsed_s": 0.628,
426
+ "finish_reason": "tool_calls",
427
+ "content": "",
428
+ "tool_calls": [
429
+ {
430
+ "function": {
431
+ "name": "calculator",
432
+ "arguments": "{\"expression\": \"18.5 * 42\"}"
433
+ },
434
+ "type": "function",
435
+ "id": "ff01a976-0e81-4b18-920b-32be693ae5a0"
436
+ }
437
+ ],
438
+ "tool_name": "calculator",
439
+ "parsed_args": {
440
+ "expression": "18.5 * 42"
441
+ },
442
+ "text_tool_leak": false,
443
+ "usage": {
444
+ "prompt_tokens": 397,
445
+ "completion_tokens": 16,
446
+ "total_tokens": 413,
447
+ "prompt_tokens_details": {
448
+ "cached_tokens": 382
449
+ }
450
+ }
451
+ },
452
+ {
453
+ "name": "generic_calculator_2",
454
+ "category": "calculator",
455
+ "passed": true,
456
+ "failure": null,
457
+ "elapsed_s": 0.26,
458
+ "finish_reason": "tool_calls",
459
+ "content": "",
460
+ "tool_calls": [
461
+ {
462
+ "function": {
463
+ "name": "calculator",
464
+ "arguments": "{\"expression\": \"(23 + 19) * 2\"}"
465
+ },
466
+ "type": "function",
467
+ "id": "3eb07e1c-57b2-446f-8505-73d2ee591f1e"
468
+ }
469
+ ],
470
+ "tool_name": "calculator",
471
+ "parsed_args": {
472
+ "expression": "(23 + 19) * 2"
473
+ },
474
+ "text_tool_leak": false,
475
+ "usage": {
476
+ "prompt_tokens": 397,
477
+ "completion_tokens": 19,
478
+ "total_tokens": 416,
479
+ "prompt_tokens_details": {
480
+ "cached_tokens": 382
481
+ }
482
+ }
483
+ },
484
+ {
485
+ "name": "no_tool_greeting",
486
+ "category": "no_tool",
487
+ "passed": true,
488
+ "failure": null,
489
+ "elapsed_s": 0.166,
490
+ "finish_reason": "stop",
491
+ "content": "Hello! How can I assist you today?",
492
+ "tool_calls": [],
493
+ "tool_name": null,
494
+ "parsed_args": {},
495
+ "text_tool_leak": false,
496
+ "usage": {
497
+ "prompt_tokens": 389,
498
+ "completion_tokens": 10,
499
+ "total_tokens": 399,
500
+ "prompt_tokens_details": {
501
+ "cached_tokens": 382
502
+ }
503
+ }
504
+ },
505
+ {
506
+ "name": "no_tool_explain_router",
507
+ "category": "no_tool",
508
+ "passed": true,
509
+ "failure": null,
510
+ "elapsed_s": 0.356,
511
+ "finish_reason": "stop",
512
+ "content": "A router in a Mixture\u2011of\u2011Experts model selects which expert each input token should be processed by, routing tokens to the appropriate expert.",
513
+ "tool_calls": [],
514
+ "tool_name": null,
515
+ "parsed_args": {},
516
+ "text_tool_leak": false,
517
+ "usage": {
518
+ "prompt_tokens": 401,
519
+ "completion_tokens": 31,
520
+ "total_tokens": 432,
521
+ "prompt_tokens_details": {
522
+ "cached_tokens": 382
523
+ }
524
+ }
525
+ },
526
+ {
527
+ "name": "no_tool_do_not_use",
528
+ "category": "no_tool",
529
+ "passed": true,
530
+ "failure": null,
531
+ "elapsed_s": 0.105,
532
+ "finish_reason": "stop",
533
+ "content": "done",
534
+ "tool_calls": [],
535
+ "tool_name": null,
536
+ "parsed_args": {},
537
+ "text_tool_leak": false,
538
+ "usage": {
539
+ "prompt_tokens": 395,
540
+ "completion_tokens": 2,
541
+ "total_tokens": 397,
542
+ "prompt_tokens_details": {
543
+ "cached_tokens": 382
544
+ }
545
+ }
546
+ },
547
+ {
548
+ "name": "no_tool_word_browser",
549
+ "category": "no_tool",
550
+ "passed": true,
551
+ "failure": null,
552
+ "elapsed_s": 0.233,
553
+ "finish_reason": "stop",
554
+ "content": "The browser is a software application used to access and view websites on the internet.",
555
+ "tool_calls": [],
556
+ "tool_name": null,
557
+ "parsed_args": {},
558
+ "text_tool_leak": false,
559
+ "usage": {
560
+ "prompt_tokens": 394,
561
+ "completion_tokens": 17,
562
+ "total_tokens": 411,
563
+ "prompt_tokens_details": {
564
+ "cached_tokens": 382
565
+ }
566
+ }
567
+ },
568
+ {
569
+ "name": "finalize_browser_weather",
570
+ "category": "finalization",
571
+ "passed": true,
572
+ "failure": null,
573
+ "elapsed_s": 0.354,
574
+ "finish_reason": "stop",
575
+ "content": "The current weather in Austin, TX is 82\u00b0F and sunny.",
576
+ "tool_calls": [],
577
+ "tool_name": null,
578
+ "parsed_args": {},
579
+ "text_tool_leak": false,
580
+ "usage": {
581
+ "prompt_tokens": 467,
582
+ "completion_tokens": 15,
583
+ "total_tokens": 482,
584
+ "prompt_tokens_details": {
585
+ "cached_tokens": 0
586
+ }
587
+ }
588
+ },
589
+ {
590
+ "name": "finalize_terminal_echo",
591
+ "category": "finalization",
592
+ "passed": true,
593
+ "failure": null,
594
+ "elapsed_s": 0.346,
595
+ "finish_reason": "stop",
596
+ "content": "The output of the command is: hermes-tool-test",
597
+ "tool_calls": [],
598
+ "tool_name": null,
599
+ "parsed_args": {},
600
+ "text_tool_leak": false,
601
+ "usage": {
602
+ "prompt_tokens": 450,
603
+ "completion_tokens": 13,
604
+ "total_tokens": 463,
605
+ "prompt_tokens_details": {
606
+ "cached_tokens": 0
607
+ }
608
+ }
609
+ },
610
+ {
611
+ "name": "finalize_calculator_trust",
612
+ "category": "finalization",
613
+ "passed": true,
614
+ "failure": null,
615
+ "elapsed_s": 0.491,
616
+ "finish_reason": "stop",
617
+ "content": "The exact result of multiplying 18.5 by 42 is **777**. \n\nLet me know if you need further assistance!",
618
+ "tool_calls": [],
619
+ "tool_name": null,
620
+ "parsed_args": {},
621
+ "text_tool_leak": false,
622
+ "usage": {
623
+ "prompt_tokens": 449,
624
+ "completion_tokens": 27,
625
+ "total_tokens": 476,
626
+ "prompt_tokens_details": {
627
+ "cached_tokens": 0
628
+ }
629
+ }
630
+ }
631
+ ]
632
+ }
evals/iter04_masked_openai_tool_calls_parser_disabled.json ADDED
@@ -0,0 +1,293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "endpoint": "http://127.0.0.1:8084/v1/chat/completions",
3
+ "model": "release_work/model_upload",
4
+ "summary": {
5
+ "passed": 12,
6
+ "total": 12,
7
+ "tool_cases": 8,
8
+ "structured_tool_cases_passed": 8,
9
+ "no_tool_cases": 4,
10
+ "no_tool_cases_passed": 4,
11
+ "finish_reason_tool_calls": 8,
12
+ "content_text_tool_leaks": 0,
13
+ "failures": {}
14
+ },
15
+ "results": [
16
+ {
17
+ "name": "browser_weather",
18
+ "passed": true,
19
+ "failure": null,
20
+ "elapsed_s": 1.319,
21
+ "finish_reason": "tool_calls",
22
+ "content": "",
23
+ "tool_calls": [
24
+ {
25
+ "function": {
26
+ "name": "browser_navigate",
27
+ "arguments": "{\"url\": \"https://www.google.com/search?q=Austin+TX+weather\"}"
28
+ },
29
+ "type": "function",
30
+ "id": "c85558f8-ea40-429c-b8ea-8d4b097277fd"
31
+ }
32
+ ],
33
+ "usage": {
34
+ "prompt_tokens": 354,
35
+ "completion_tokens": 27,
36
+ "total_tokens": 381,
37
+ "prompt_tokens_details": {
38
+ "cached_tokens": 0
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "browser_docs",
44
+ "passed": true,
45
+ "failure": null,
46
+ "elapsed_s": 1.035,
47
+ "finish_reason": "tool_calls",
48
+ "content": "",
49
+ "tool_calls": [
50
+ {
51
+ "function": {
52
+ "name": "browser_navigate",
53
+ "arguments": "{\"url\": \"https://www.google.com/search?q=MLX+LM+tool+parser+documentation\"}"
54
+ },
55
+ "type": "function",
56
+ "id": "03b50fb8-a9cf-4566-9d8b-470bce3b3a48"
57
+ }
58
+ ],
59
+ "usage": {
60
+ "prompt_tokens": 353,
61
+ "completion_tokens": 32,
62
+ "total_tokens": 385,
63
+ "prompt_tokens_details": {
64
+ "cached_tokens": 0
65
+ }
66
+ }
67
+ },
68
+ {
69
+ "name": "calculator_simple",
70
+ "passed": true,
71
+ "failure": null,
72
+ "elapsed_s": 0.679,
73
+ "finish_reason": "tool_calls",
74
+ "content": "",
75
+ "tool_calls": [
76
+ {
77
+ "function": {
78
+ "name": "calculator",
79
+ "arguments": "{\"expression\": \"(23 + 19) * 2\"}"
80
+ },
81
+ "type": "function",
82
+ "id": "3a40bc48-980c-499e-ae7e-341ef3475d9d"
83
+ }
84
+ ],
85
+ "usage": {
86
+ "prompt_tokens": 355,
87
+ "completion_tokens": 19,
88
+ "total_tokens": 374,
89
+ "prompt_tokens_details": {
90
+ "cached_tokens": 336
91
+ }
92
+ }
93
+ },
94
+ {
95
+ "name": "calculator_decimal",
96
+ "passed": true,
97
+ "failure": null,
98
+ "elapsed_s": 0.821,
99
+ "finish_reason": "tool_calls",
100
+ "content": "",
101
+ "tool_calls": [
102
+ {
103
+ "function": {
104
+ "name": "calculator",
105
+ "arguments": "{\"expression\": \"18.5 * 42\"}"
106
+ },
107
+ "type": "function",
108
+ "id": "32ecc9ea-c8b2-44e2-bad2-3d0fac0d005d"
109
+ }
110
+ ],
111
+ "usage": {
112
+ "prompt_tokens": 353,
113
+ "completion_tokens": 16,
114
+ "total_tokens": 369,
115
+ "prompt_tokens_details": {
116
+ "cached_tokens": 0
117
+ }
118
+ }
119
+ },
120
+ {
121
+ "name": "terminal_pwd",
122
+ "passed": true,
123
+ "failure": null,
124
+ "elapsed_s": 0.587,
125
+ "finish_reason": "tool_calls",
126
+ "content": "",
127
+ "tool_calls": [
128
+ {
129
+ "function": {
130
+ "name": "terminal",
131
+ "arguments": "{\"command\": \"pwd\"}"
132
+ },
133
+ "type": "function",
134
+ "id": "63aa771f-accd-443a-bd25-f90dffaad925"
135
+ }
136
+ ],
137
+ "usage": {
138
+ "prompt_tokens": 347,
139
+ "completion_tokens": 10,
140
+ "total_tokens": 357,
141
+ "prompt_tokens_details": {
142
+ "cached_tokens": 0
143
+ }
144
+ }
145
+ },
146
+ {
147
+ "name": "terminal_echo",
148
+ "passed": true,
149
+ "failure": null,
150
+ "elapsed_s": 0.408,
151
+ "finish_reason": "tool_calls",
152
+ "content": "",
153
+ "tool_calls": [
154
+ {
155
+ "function": {
156
+ "name": "terminal",
157
+ "arguments": "{\"command\": \"echo hermes-tool-test\"}"
158
+ },
159
+ "type": "function",
160
+ "id": "a80202d3-d09d-4b8c-ad95-baeccfee93f9"
161
+ }
162
+ ],
163
+ "usage": {
164
+ "prompt_tokens": 352,
165
+ "completion_tokens": 15,
166
+ "total_tokens": 367,
167
+ "prompt_tokens_details": {
168
+ "cached_tokens": 0
169
+ }
170
+ }
171
+ },
172
+ {
173
+ "name": "read_file",
174
+ "passed": true,
175
+ "failure": null,
176
+ "elapsed_s": 0.693,
177
+ "finish_reason": "tool_calls",
178
+ "content": "",
179
+ "tool_calls": [
180
+ {
181
+ "function": {
182
+ "name": "read_file",
183
+ "arguments": "{\"path\": \"/tmp/hermes_eval_marker.txt\"}"
184
+ },
185
+ "type": "function",
186
+ "id": "f509c511-b7fd-4306-85ac-c0291aa7a508"
187
+ }
188
+ ],
189
+ "usage": {
190
+ "prompt_tokens": 355,
191
+ "completion_tokens": 18,
192
+ "total_tokens": 373,
193
+ "prompt_tokens_details": {
194
+ "cached_tokens": 336
195
+ }
196
+ }
197
+ },
198
+ {
199
+ "name": "search_files",
200
+ "passed": true,
201
+ "failure": null,
202
+ "elapsed_s": 0.706,
203
+ "finish_reason": "tool_calls",
204
+ "content": "",
205
+ "tool_calls": [
206
+ {
207
+ "function": {
208
+ "name": "search_files",
209
+ "arguments": "{\"pattern\": \"hermes-tool-test\"}"
210
+ },
211
+ "type": "function",
212
+ "id": "a642f73b-c3da-4c71-affb-2fb5248629c4"
213
+ }
214
+ ],
215
+ "usage": {
216
+ "prompt_tokens": 352,
217
+ "completion_tokens": 15,
218
+ "total_tokens": 367,
219
+ "prompt_tokens_details": {
220
+ "cached_tokens": 0
221
+ }
222
+ }
223
+ },
224
+ {
225
+ "name": "no_tool_greeting",
226
+ "passed": true,
227
+ "failure": null,
228
+ "elapsed_s": 0.459,
229
+ "finish_reason": "stop",
230
+ "content": "Hello!",
231
+ "tool_calls": [],
232
+ "usage": {
233
+ "prompt_tokens": 353,
234
+ "completion_tokens": 3,
235
+ "total_tokens": 356,
236
+ "prompt_tokens_details": {
237
+ "cached_tokens": 0
238
+ }
239
+ }
240
+ },
241
+ {
242
+ "name": "no_tool_explain",
243
+ "passed": true,
244
+ "failure": null,
245
+ "elapsed_s": 1.054,
246
+ "finish_reason": "stop",
247
+ "content": "A router in a Mixture\u2011of\u2011Experts model selects which expert each input token should pass to, routing the token to the appropriate expert's output.",
248
+ "tool_calls": [],
249
+ "usage": {
250
+ "prompt_tokens": 361,
251
+ "completion_tokens": 33,
252
+ "total_tokens": 394,
253
+ "prompt_tokens_details": {
254
+ "cached_tokens": 336
255
+ }
256
+ }
257
+ },
258
+ {
259
+ "name": "tool_result_final_browser",
260
+ "passed": true,
261
+ "failure": null,
262
+ "elapsed_s": 0.61,
263
+ "finish_reason": "stop",
264
+ "content": "The current weather in Austin, TX is 82 F and sunny.",
265
+ "tool_calls": [],
266
+ "usage": {
267
+ "prompt_tokens": 405,
268
+ "completion_tokens": 15,
269
+ "total_tokens": 420,
270
+ "prompt_tokens_details": {
271
+ "cached_tokens": 0
272
+ }
273
+ }
274
+ },
275
+ {
276
+ "name": "tool_result_final_calc",
277
+ "passed": true,
278
+ "failure": null,
279
+ "elapsed_s": 0.689,
280
+ "finish_reason": "stop",
281
+ "content": "The result of 18.5 multiplied by 42 is **777**.",
282
+ "tool_calls": [],
283
+ "usage": {
284
+ "prompt_tokens": 379,
285
+ "completion_tokens": 16,
286
+ "total_tokens": 395,
287
+ "prompt_tokens_details": {
288
+ "cached_tokens": 0
289
+ }
290
+ }
291
+ }
292
+ ]
293
+ }
repair_datasets/iter02_colloquial_router/manifest.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "iter02_colloquial_router",
3
+ "format": "mlx_lm text jsonl",
4
+ "target_tool_format": "native_lfm_pythonic",
5
+ "tool_parser_type_required": "pythonic",
6
+ "seed": 20260531,
7
+ "base_examples": 411,
8
+ "splits": {
9
+ "train": 2608,
10
+ "valid": 212,
11
+ "test": 213
12
+ },
13
+ "category_counts": {
14
+ "browser": 612,
15
+ "calculator": 283,
16
+ "file": 397,
17
+ "finalization": 247,
18
+ "no_tool": 635,
19
+ "observed_failure": 279,
20
+ "terminal": 580
21
+ },
22
+ "kind_counts": {
23
+ "final_answer": 247,
24
+ "no_tool": 682,
25
+ "tool_call": 2104
26
+ },
27
+ "tool_counts": {
28
+ "browser_navigate": 832,
29
+ "calculator": 315,
30
+ "read_file": 172,
31
+ "search_files": 169,
32
+ "terminal": 731,
33
+ "write_file": 132
34
+ },
35
+ "no_tool_plus_finalization_fraction": 0.2908,
36
+ "validation": {
37
+ "all_tool_targets_parse": true,
38
+ "no_tool_final_turns_have_no_tool_syntax": true,
39
+ "known_tools": [
40
+ "browser_navigate",
41
+ "calculator",
42
+ "read_file",
43
+ "search_files",
44
+ "terminal",
45
+ "write_file"
46
+ ]
47
+ }
48
+ }
repair_datasets/iter02_colloquial_router/test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
repair_datasets/iter02_colloquial_router/train.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
repair_datasets/iter02_colloquial_router/valid.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
repair_datasets/iter03_colloquial_router_server_template/manifest.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "iter02_colloquial_router",
3
+ "format": "mlx_lm text jsonl",
4
+ "target_tool_format": "native_lfm_pythonic",
5
+ "tool_parser_type_required": "pythonic",
6
+ "seed": 20260531,
7
+ "base_examples": 548,
8
+ "splits": {
9
+ "train": 2608,
10
+ "valid": 212,
11
+ "test": 213
12
+ },
13
+ "category_counts": {
14
+ "browser": 615,
15
+ "calculator": 257,
16
+ "file": 373,
17
+ "finalization": 257,
18
+ "no_tool": 596,
19
+ "observed_failure": 298,
20
+ "terminal": 637
21
+ },
22
+ "kind_counts": {
23
+ "final_answer": 257,
24
+ "no_tool": 644,
25
+ "tool_call": 2132
26
+ },
27
+ "tool_counts": {
28
+ "browser_navigate": 850,
29
+ "calculator": 294,
30
+ "read_file": 171,
31
+ "search_files": 167,
32
+ "terminal": 784,
33
+ "write_file": 123
34
+ },
35
+ "no_tool_plus_finalization_fraction": 0.2812,
36
+ "validation": {
37
+ "all_tool_targets_parse": true,
38
+ "no_tool_final_turns_have_no_tool_syntax": true,
39
+ "known_tools": [
40
+ "browser_navigate",
41
+ "calculator",
42
+ "read_file",
43
+ "search_files",
44
+ "terminal",
45
+ "write_file"
46
+ ]
47
+ }
48
+ }
repair_datasets/iter03_colloquial_router_server_template/test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
repair_datasets/iter03_colloquial_router_server_template/train.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
repair_datasets/iter03_colloquial_router_server_template/valid.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
repair_datasets/iter04_colloquial_router_chat_masked/manifest.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "mlx_lm chat jsonl",
3
+ "source": "release_work/lfm25-moe8-mac-trainer/artifacts/repair_datasets/iter03_colloquial_router_server_template",
4
+ "tool_parser_type_required": "pythonic",
5
+ "prompt_masking_supported": true,
6
+ "splits": {
7
+ "train": 2608,
8
+ "valid": 212,
9
+ "test": 213
10
+ },
11
+ "tools": [
12
+ "browser_navigate",
13
+ "terminal",
14
+ "read_file",
15
+ "write_file",
16
+ "search_files",
17
+ "calculator"
18
+ ]
19
+ }
repair_datasets/iter04_colloquial_router_chat_masked/test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
repair_datasets/iter04_colloquial_router_chat_masked/train.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
repair_datasets/iter04_colloquial_router_chat_masked/valid.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
reports/colloquial_tool_router_repair_report.json ADDED
@@ -0,0 +1,329 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "colloquial_tool_router_repair_loop",
3
+ "status": "failed_acceptance_thresholds",
4
+ "acceptance_thresholds": {
5
+ "structured_tool_eval_overall": ">=95%",
6
+ "generic_prompt_correct": ">=80% including weather/browser and terminal",
7
+ "text_tool_leaks": "0",
8
+ "no_tool_false_positive": "<=5%",
9
+ "tool_result_finalization": ">=90%"
10
+ },
11
+ "main_failure": "terminal and repo-search colloquial prompts still route to browser_navigate or bash under structured OpenAI tool_calls",
12
+ "eval_summaries": {
13
+ "iter02_pretrain_colloquial_openai_parser_disabled": {
14
+ "passed": 16,
15
+ "total": 20,
16
+ "overall_rate": 0.8,
17
+ "tool_cases": 13,
18
+ "structured_tool_cases_passed": 9,
19
+ "structured_tool_rate": 0.6923,
20
+ "no_tool_cases": 4,
21
+ "no_tool_cases_passed": 4,
22
+ "false_positive_tool_rate": 0.0,
23
+ "finalization_cases": 3,
24
+ "finalization_passed": 3,
25
+ "finalization_rate": 1.0,
26
+ "finish_reason_tool_calls": 13,
27
+ "content_text_tool_leaks": 0,
28
+ "category_metrics": {
29
+ "browser": {
30
+ "passed": 4,
31
+ "total": 4,
32
+ "rate": 1.0
33
+ },
34
+ "calculator": {
35
+ "passed": 2,
36
+ "total": 2,
37
+ "rate": 1.0
38
+ },
39
+ "file": {
40
+ "passed": 2,
41
+ "total": 3,
42
+ "rate": 0.6667
43
+ },
44
+ "finalization": {
45
+ "passed": 3,
46
+ "total": 3,
47
+ "rate": 1.0
48
+ },
49
+ "no_tool": {
50
+ "passed": 4,
51
+ "total": 4,
52
+ "rate": 1.0
53
+ },
54
+ "terminal": {
55
+ "passed": 1,
56
+ "total": 4,
57
+ "rate": 0.25
58
+ }
59
+ },
60
+ "failures": {
61
+ "generic_terminal_echo": "wrong_tool:browser_navigate",
62
+ "generic_terminal_pwd": "wrong_tool:browser_navigate",
63
+ "generic_terminal_ls": "wrong_tool:bash",
64
+ "generic_search_repo": "wrong_tool:browser_navigate"
65
+ }
66
+ },
67
+ "iter02_colloquial_openai_parser_disabled": {
68
+ "passed": 16,
69
+ "total": 20,
70
+ "overall_rate": 0.8,
71
+ "tool_cases": 13,
72
+ "structured_tool_cases_passed": 9,
73
+ "structured_tool_rate": 0.6923,
74
+ "no_tool_cases": 4,
75
+ "no_tool_cases_passed": 4,
76
+ "false_positive_tool_rate": 0.0,
77
+ "finalization_cases": 3,
78
+ "finalization_passed": 3,
79
+ "finalization_rate": 1.0,
80
+ "finish_reason_tool_calls": 13,
81
+ "content_text_tool_leaks": 0,
82
+ "category_metrics": {
83
+ "browser": {
84
+ "passed": 4,
85
+ "total": 4,
86
+ "rate": 1.0
87
+ },
88
+ "calculator": {
89
+ "passed": 2,
90
+ "total": 2,
91
+ "rate": 1.0
92
+ },
93
+ "file": {
94
+ "passed": 2,
95
+ "total": 3,
96
+ "rate": 0.6667
97
+ },
98
+ "finalization": {
99
+ "passed": 3,
100
+ "total": 3,
101
+ "rate": 1.0
102
+ },
103
+ "no_tool": {
104
+ "passed": 4,
105
+ "total": 4,
106
+ "rate": 1.0
107
+ },
108
+ "terminal": {
109
+ "passed": 1,
110
+ "total": 4,
111
+ "rate": 0.25
112
+ }
113
+ },
114
+ "failures": {
115
+ "generic_terminal_echo": "wrong_tool:browser_navigate",
116
+ "generic_terminal_pwd": "wrong_tool:browser_navigate",
117
+ "generic_terminal_ls": "wrong_tool:bash",
118
+ "generic_search_repo": "wrong_tool:browser_navigate"
119
+ }
120
+ },
121
+ "iter03_colloquial_openai_parser_disabled": {
122
+ "passed": 16,
123
+ "total": 20,
124
+ "overall_rate": 0.8,
125
+ "tool_cases": 13,
126
+ "structured_tool_cases_passed": 9,
127
+ "structured_tool_rate": 0.6923,
128
+ "no_tool_cases": 4,
129
+ "no_tool_cases_passed": 4,
130
+ "false_positive_tool_rate": 0.0,
131
+ "finalization_cases": 3,
132
+ "finalization_passed": 3,
133
+ "finalization_rate": 1.0,
134
+ "finish_reason_tool_calls": 13,
135
+ "content_text_tool_leaks": 0,
136
+ "category_metrics": {
137
+ "browser": {
138
+ "passed": 4,
139
+ "total": 4,
140
+ "rate": 1.0
141
+ },
142
+ "calculator": {
143
+ "passed": 2,
144
+ "total": 2,
145
+ "rate": 1.0
146
+ },
147
+ "file": {
148
+ "passed": 2,
149
+ "total": 3,
150
+ "rate": 0.6667
151
+ },
152
+ "finalization": {
153
+ "passed": 3,
154
+ "total": 3,
155
+ "rate": 1.0
156
+ },
157
+ "no_tool": {
158
+ "passed": 4,
159
+ "total": 4,
160
+ "rate": 1.0
161
+ },
162
+ "terminal": {
163
+ "passed": 1,
164
+ "total": 4,
165
+ "rate": 0.25
166
+ }
167
+ },
168
+ "failures": {
169
+ "generic_terminal_echo": "wrong_tool:browser_navigate",
170
+ "generic_terminal_pwd": "wrong_tool:browser_navigate",
171
+ "generic_terminal_ls": "wrong_tool:bash",
172
+ "generic_search_repo": "wrong_tool:browser_navigate"
173
+ }
174
+ },
175
+ "iter04_masked_colloquial_openai_parser_disabled": {
176
+ "passed": 16,
177
+ "total": 20,
178
+ "overall_rate": 0.8,
179
+ "tool_cases": 13,
180
+ "structured_tool_cases_passed": 9,
181
+ "structured_tool_rate": 0.6923,
182
+ "no_tool_cases": 4,
183
+ "no_tool_cases_passed": 4,
184
+ "false_positive_tool_rate": 0.0,
185
+ "finalization_cases": 3,
186
+ "finalization_passed": 3,
187
+ "finalization_rate": 1.0,
188
+ "finish_reason_tool_calls": 13,
189
+ "content_text_tool_leaks": 0,
190
+ "category_metrics": {
191
+ "browser": {
192
+ "passed": 4,
193
+ "total": 4,
194
+ "rate": 1.0
195
+ },
196
+ "calculator": {
197
+ "passed": 2,
198
+ "total": 2,
199
+ "rate": 1.0
200
+ },
201
+ "file": {
202
+ "passed": 2,
203
+ "total": 3,
204
+ "rate": 0.6667
205
+ },
206
+ "finalization": {
207
+ "passed": 3,
208
+ "total": 3,
209
+ "rate": 1.0
210
+ },
211
+ "no_tool": {
212
+ "passed": 4,
213
+ "total": 4,
214
+ "rate": 1.0
215
+ },
216
+ "terminal": {
217
+ "passed": 1,
218
+ "total": 4,
219
+ "rate": 0.25
220
+ }
221
+ },
222
+ "failures": {
223
+ "generic_terminal_echo": "wrong_tool:browser_navigate",
224
+ "generic_terminal_pwd": "wrong_tool:browser_navigate",
225
+ "generic_terminal_ls": "wrong_tool:bash",
226
+ "generic_search_repo": "wrong_tool:browser_navigate"
227
+ }
228
+ },
229
+ "current_recheck_openai_tool_calls_parser_disabled": {
230
+ "passed": 11,
231
+ "total": 12,
232
+ "tool_cases": 8,
233
+ "structured_tool_cases_passed": 8,
234
+ "no_tool_cases": 4,
235
+ "no_tool_cases_passed": 3,
236
+ "finish_reason_tool_calls": 8,
237
+ "content_text_tool_leaks": 0,
238
+ "failures": {
239
+ "tool_result_final_calc": "content_mismatch"
240
+ }
241
+ },
242
+ "iter02_openai_tool_calls_parser_disabled": {
243
+ "passed": 12,
244
+ "total": 12,
245
+ "tool_cases": 8,
246
+ "structured_tool_cases_passed": 8,
247
+ "no_tool_cases": 4,
248
+ "no_tool_cases_passed": 4,
249
+ "finish_reason_tool_calls": 8,
250
+ "content_text_tool_leaks": 0,
251
+ "failures": {}
252
+ },
253
+ "iter03_openai_tool_calls_parser_disabled": {
254
+ "passed": 12,
255
+ "total": 12,
256
+ "tool_cases": 8,
257
+ "structured_tool_cases_passed": 8,
258
+ "no_tool_cases": 4,
259
+ "no_tool_cases_passed": 4,
260
+ "finish_reason_tool_calls": 8,
261
+ "content_text_tool_leaks": 0,
262
+ "failures": {}
263
+ },
264
+ "iter04_masked_openai_tool_calls_parser_disabled": {
265
+ "passed": 12,
266
+ "total": 12,
267
+ "tool_cases": 8,
268
+ "structured_tool_cases_passed": 8,
269
+ "no_tool_cases": 4,
270
+ "no_tool_cases_passed": 4,
271
+ "finish_reason_tool_calls": 8,
272
+ "content_text_tool_leaks": 0,
273
+ "failures": {}
274
+ }
275
+ },
276
+ "training_summaries": {
277
+ "lora_tool_router_iter02": {
278
+ "last_train": [
279
+ "800",
280
+ "0.068",
281
+ "335.383",
282
+ "92279",
283
+ "11.108 GB"
284
+ ],
285
+ "last_val": [
286
+ "800",
287
+ "0.077"
288
+ ],
289
+ "peak_mem_gb": 11.108
290
+ },
291
+ "lora_tool_router_iter03": {
292
+ "last_train": [
293
+ "800",
294
+ "0.018",
295
+ "555.559",
296
+ "345450",
297
+ "11.452 GB"
298
+ ],
299
+ "last_val": [
300
+ "800",
301
+ "0.018"
302
+ ],
303
+ "peak_mem_gb": 11.452
304
+ },
305
+ "lora_tool_router_iter04_masked": {
306
+ "last_train": [
307
+ "600",
308
+ "0.000",
309
+ "25.934",
310
+ "11599",
311
+ "11.507 GB"
312
+ ],
313
+ "last_val": [
314
+ "600",
315
+ "0.000"
316
+ ],
317
+ "peak_mem_gb": 11.507
318
+ }
319
+ },
320
+ "artifacts": {
321
+ "iter02_dataset": "artifacts/repair_datasets/iter02_colloquial_router",
322
+ "iter03_server_template_dataset": "artifacts/repair_datasets/iter03_colloquial_router_server_template",
323
+ "iter04_chat_masked_dataset": "artifacts/repair_datasets/iter04_colloquial_router_chat_masked",
324
+ "iter02_adapter": "artifacts/adapters/lfm_tool_router_iter02",
325
+ "iter03_adapter": "artifacts/adapters/lfm_tool_router_iter03",
326
+ "iter04_masked_adapter": "artifacts/adapters/lfm_tool_router_iter04_masked"
327
+ },
328
+ "decision": "do_not_fuse_or_publish_as_final_model_update; retain adapter artifacts and evals for analysis only"
329
+ }