{ "question": "On 96 self-written tool-calling tasks, how accurate are Qwen3.6-35B-A3B (thinking off and on) and Gemma 3 12B in MLX; what share of failures are malformed/unparseable output rather than wrong decisions; how much does accuracy drop with 32 tools instead of 8; and what does each setting cost in seconds per call?", "environment": { "machine": "unavailable (FileNotFoundError)", "cpu": "unavailable (FileNotFoundError)", "memory_gb": "unavailable (FileNotFoundError)", "os": "macOS 27.0.1 build 26A434", "kernel": "27.0.0", "python": "3.13.5", "packages": { "mlx": "0.31.2", "mlx-metal": "0.31.2", "mlx-lm": "0.31.3", "numpy": "2.4.2", "transformers": "5.12.1" }, "file_sha256": { "tasks.py": "1e42a8643a316ce6c07773109db120c7afaa67855c66845271442d86f9a30491", "tools.py": "918c0c687c9569db75ab447904ffaf88c565115780cfe6d83da7b7cc90dcf0c3", "prompts.py": "d7620d8fca09e656ee3c7f47019a88a5048fdd4b2c9db4aeb546bf1261cce71c", "parsers.py": "08b27923fe13e9aa1b58fe32c7aed69ce3875f38b2685b3ec1abb18919db2ad4", "scoring.py": "db14e7bb85a2a023be9d11e7c2dc85eceafb972afc98bf983a9bc82423354771", "run_bench.py": "345d661b409f6b9856e43424a3d460bba9e5f92d5ee9b8d013cad78bfe3d053f" }, "models": { "qwen": { "repo": "mlx-community/Qwen3.6-35B-A3B-4bit", "snapshot": "38740b847e4cb78f352aba30aa41c76e08e6eb46", "chat_template_file": "chat_template.jinja", "chat_template_sha256": "e84f32a23fdda27689f868aa4a1a5621f41133e51a48d7f3efcbea2839574259" }, "gemma": { "repo": "mlx-community/gemma-3-12b-it-4bit", "snapshot": "86cc6a8dedbc456dd0e4af01a9d09f396f77e558", "chat_template_file": "chat_template.json", "chat_template_sha256": "fe16baf728db49457cde32802cd7efc0ac8a7a9877dbe22fe3322b2d9dc6ccd9" } } }, "runs": 3, "runs_note": "3 seeds for qwen_nothink_8 and gemma_8; 1 seed for qwen_nothink_32 and qwen_think_8", "conditions": { "qwen_nothink_8": { "family": "qwen", "menu": 8, "thinking": false, "seeds": [ 0, 1, 2 ], "max_tokens": 512, "sampling": { "temp": 0.7, "top_p": 0.8, "top_k": 20, "min_p": 0.0, "presence_penalty": 1.5 }, "model": "mlx-community/Qwen3.6-35B-A3B-4bit", "model_load_s": 4.986181000014767, "tasks_completed": 96, "tasks_planned": 96, "stopped_early_by_time_budget": false, "wall_s": 281.8193712080829, "peak_memory_gb": 21.699983844 }, "qwen_nothink_32": { "family": "qwen", "menu": 32, "thinking": false, "seeds": [ 0 ], "max_tokens": 512, "sampling": { "temp": 0.7, "top_p": 0.8, "top_k": 20, "min_p": 0.0, "presence_penalty": 1.5 }, "model": "mlx-community/Qwen3.6-35B-A3B-4bit", "model_load_s": 4.986181000014767, "tasks_completed": 96, "tasks_planned": 96, "stopped_early_by_time_budget": false, "wall_s": 71.65337316703517, "peak_memory_gb": 21.448931872 }, "qwen_think_8": { "family": "qwen", "menu": 8, "thinking": true, "seeds": [ 0 ], "max_tokens": 1536, "sampling": { "temp": 1.0, "top_p": 0.95, "top_k": 20, "min_p": 0.0, "presence_penalty": 1.5 }, "model": "mlx-community/Qwen3.6-35B-A3B-4bit", "model_load_s": 4.986181000014767, "tasks_completed": 96, "tasks_planned": 96, "stopped_early_by_time_budget": false, "wall_s": 352.7419577080291, "peak_memory_gb": 21.699967486 }, "gemma_8": { "family": "gemma", "menu": 8, "thinking": false, "seeds": [ 0, 1, 2 ], "max_tokens": 512, "sampling": { "temp": 1.0, "top_p": 0.95, "top_k": 64, "min_p": 0.0, "presence_penalty": 0.0 }, "model": "mlx-community/gemma-3-12b-it-4bit", "model_load_s": 2.459852125030011, "tasks_completed": 96, "tasks_planned": 96, "stopped_early_by_time_budget": false, "wall_s": 798.5904996250756, "peak_memory_gb": 12.065461944 } }, "metrics": { "qwen_nothink_8.tasks_completed": { "value": 96, "unit": "tasks", "samples": [], "note": "of 96 planned; stopped early by time budget: False" }, "qwen_nothink_8.accuracy_strict": { "value": 73.96, "unit": "%", "samples": [ 77.08, 71.88, 72.92 ], "note": "exact-match accuracy, strict parser; samples = per-seed accuracy (seeds [0, 1, 2]); 95% bootstrap CI over tasks [np.float64(65.62), np.float64(81.94)]" }, "qwen_nothink_8.accuracy_strict_ci95": { "value": [ 65.28, 81.94 ], "unit": "%", "samples": [], "note": "bootstrap over tasks (10k resamples), task score = mean over seeds" }, "qwen_nothink_8.seed_spread_strict": { "value": 5.2, "unit": "percentage points", "samples": [ 77.08, 71.88, 72.92 ], "note": "max - min of per-seed accuracy" }, "qwen_nothink_8.failure_strict.truncated_by_cap": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_strict.malformed_output": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_strict.skipped_needed_call": { "value": 26.04, "unit": "% of task runs", "samples": [ 75 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_strict.called_when_not_needed": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_strict.wrong_tool": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_strict.wrong_or_missing_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_strict.hallucinated_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.accuracy_strict.single": { "value": 52.08, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_strict.distractor": { "value": 68.75, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_strict.enum_type": { "value": 60.42, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_strict.nested_array": { "value": 100.0, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_strict.parallel": { "value": 62.5, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_strict.no_tool": { "value": 100.0, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_lenient": { "value": 73.96, "unit": "%", "samples": [ 77.08, 71.88, 72.92 ], "note": "exact-match accuracy, lenient parser; samples = per-seed accuracy (seeds [0, 1, 2]); 95% bootstrap CI over tasks [np.float64(65.62), np.float64(81.94)]" }, "qwen_nothink_8.accuracy_lenient_ci95": { "value": [ 65.28, 81.94 ], "unit": "%", "samples": [], "note": "bootstrap over tasks (10k resamples), task score = mean over seeds" }, "qwen_nothink_8.seed_spread_lenient": { "value": 5.2, "unit": "percentage points", "samples": [ 77.08, 71.88, 72.92 ], "note": "max - min of per-seed accuracy" }, "qwen_nothink_8.failure_lenient.truncated_by_cap": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_lenient.malformed_output": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_lenient.skipped_needed_call": { "value": 26.04, "unit": "% of task runs", "samples": [ 75 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_lenient.called_when_not_needed": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_lenient.wrong_tool": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_lenient.wrong_or_missing_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_lenient.hallucinated_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.accuracy_lenient.single": { "value": 52.08, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_lenient.distractor": { "value": 68.75, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_lenient.enum_type": { "value": 60.42, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_lenient.nested_array": { "value": 100.0, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_lenient.parallel": { "value": 62.5, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_lenient.no_tool": { "value": 100.0, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_mlx_lm": { "value": 73.96, "unit": "%", "samples": [ 77.08, 71.88, 72.92 ], "note": "exact-match accuracy, mlx_lm's built-in qwen3_coder parser (as mlx_lm.server uses it); samples = per-seed accuracy (seeds [0, 1, 2]); 95% bootstrap CI over tasks [np.float64(65.62), np.float64(81.94)]" }, "qwen_nothink_8.accuracy_mlx_lm_ci95": { "value": [ 65.62, 81.94 ], "unit": "%", "samples": [], "note": "bootstrap over tasks (10k resamples), task score = mean over seeds" }, "qwen_nothink_8.seed_spread_mlx_lm": { "value": 5.2, "unit": "percentage points", "samples": [ 77.08, 71.88, 72.92 ], "note": "max - min of per-seed accuracy" }, "qwen_nothink_8.failure_mlx_lm.truncated_by_cap": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_mlx_lm.malformed_output": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_mlx_lm.skipped_needed_call": { "value": 26.04, "unit": "% of task runs", "samples": [ 75 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_mlx_lm.called_when_not_needed": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_mlx_lm.wrong_tool": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_mlx_lm.wrong_or_missing_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.failure_mlx_lm.hallucinated_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "qwen_nothink_8.accuracy_mlx_lm.single": { "value": 52.08, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_mlx_lm.distractor": { "value": 68.75, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_mlx_lm.enum_type": { "value": 60.42, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_mlx_lm.nested_array": { "value": 100.0, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_mlx_lm.parallel": { "value": 62.5, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.accuracy_mlx_lm.no_tool": { "value": 100.0, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_8.parser_recoverable_share_of_failures": { "value": 0.0, "unit": "%", "samples": [ 0, 75 ], "note": "task runs wrong under the strict parser but right under the lenient one, as a share of all strict failures; samples = [recovered, strict failures]" }, "qwen_nothink_8.lenient_regressions": { "value": 0, "unit": "task runs", "samples": [], "note": "right under strict, wrong under lenient (lenient over-extraction)" }, "qwen_nothink_8.mlx_lm_vs_strict_disagreements": { "value": 0, "unit": "task runs", "samples": [], "note": "task runs where mlx_lm's parser and ours disagree" }, "qwen_nothink_8.latency_median_s": { "value": 0.563, "unit": "s", "samples": [], "note": "end-to-end per task run incl. suffix prefill, with the tool-definition prefix already cached" }, "qwen_nothink_8.latency_p90_s": { "value": 1.122, "unit": "s", "samples": [], "note": "" }, "qwen_nothink_8.ttft_median_s": { "value": 0.068, "unit": "s", "samples": [], "note": "time to first generated token" }, "qwen_nothink_8.generated_tokens_median": { "value": 47.5, "unit": "tokens", "samples": [], "note": "" }, "qwen_nothink_8.cap_hit_rate": { "value": 0.0, "unit": "%", "samples": [ 0 ], "note": "share of runs that hit max_tokens=512" }, "qwen_nothink_8.prefix_prefill_median_s": { "value": 0.921, "unit": "s", "samples": [], "note": "one-off cost of prefilling the shared tool-definition prefix (not included in latency)" }, "qwen_nothink_8.prompt_tokens_median": { "value": 1392.5, "unit": "tokens", "samples": [], "note": "" }, "qwen_nothink_8.prefix_cache_hit_rate": { "value": 100.0, "unit": "%", "samples": [], "note": "" }, "qwen_nothink_8.peak_memory_gb": { "value": 21.7, "unit": "GB", "samples": [], "note": "mx.get_peak_memory() during the condition, weights included" }, "qwen_nothink_8.model_load_s": { "value": 5.0, "unit": "s", "samples": [], "note": "" }, "qwen_nothink_32.tasks_completed": { "value": 96, "unit": "tasks", "samples": [], "note": "of 96 planned; stopped early by time budget: False" }, "qwen_nothink_32.accuracy_strict": { "value": 66.67, "unit": "%", "samples": [ 66.67 ], "note": "exact-match accuracy, strict parser; samples = per-seed accuracy (seeds [0]); 95% bootstrap CI over tasks [np.float64(57.29), np.float64(76.04)]" }, "qwen_nothink_32.accuracy_strict_ci95": { "value": [ 57.29, 76.04 ], "unit": "%", "samples": [], "note": "bootstrap over tasks (10k resamples), task score = mean over seeds" }, "qwen_nothink_32.failure_strict.truncated_by_cap": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_strict.malformed_output": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_strict.skipped_needed_call": { "value": 32.29, "unit": "% of task runs", "samples": [ 31 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_strict.called_when_not_needed": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_strict.wrong_tool": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_strict.wrong_or_missing_arg": { "value": 1.04, "unit": "% of task runs", "samples": [ 1 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_strict.hallucinated_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.accuracy_strict.single": { "value": 50.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_strict.distractor": { "value": 68.75, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_strict.enum_type": { "value": 56.25, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_strict.nested_array": { "value": 93.75, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_strict.parallel": { "value": 31.25, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_strict.no_tool": { "value": 100.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_lenient": { "value": 66.67, "unit": "%", "samples": [ 66.67 ], "note": "exact-match accuracy, lenient parser; samples = per-seed accuracy (seeds [0]); 95% bootstrap CI over tasks [np.float64(57.29), np.float64(76.04)]" }, "qwen_nothink_32.accuracy_lenient_ci95": { "value": [ 57.29, 76.04 ], "unit": "%", "samples": [], "note": "bootstrap over tasks (10k resamples), task score = mean over seeds" }, "qwen_nothink_32.failure_lenient.truncated_by_cap": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_lenient.malformed_output": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_lenient.skipped_needed_call": { "value": 32.29, "unit": "% of task runs", "samples": [ 31 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_lenient.called_when_not_needed": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_lenient.wrong_tool": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_lenient.wrong_or_missing_arg": { "value": 1.04, "unit": "% of task runs", "samples": [ 1 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_lenient.hallucinated_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.accuracy_lenient.single": { "value": 50.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_lenient.distractor": { "value": 68.75, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_lenient.enum_type": { "value": 56.25, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_lenient.nested_array": { "value": 93.75, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_lenient.parallel": { "value": 31.25, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_lenient.no_tool": { "value": 100.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_mlx_lm": { "value": 66.67, "unit": "%", "samples": [ 66.67 ], "note": "exact-match accuracy, mlx_lm's built-in qwen3_coder parser (as mlx_lm.server uses it); samples = per-seed accuracy (seeds [0]); 95% bootstrap CI over tasks [np.float64(57.29), np.float64(76.04)]" }, "qwen_nothink_32.accuracy_mlx_lm_ci95": { "value": [ 57.29, 76.04 ], "unit": "%", "samples": [], "note": "bootstrap over tasks (10k resamples), task score = mean over seeds" }, "qwen_nothink_32.failure_mlx_lm.truncated_by_cap": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_mlx_lm.malformed_output": { "value": 1.04, "unit": "% of task runs", "samples": [ 1 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_mlx_lm.skipped_needed_call": { "value": 32.29, "unit": "% of task runs", "samples": [ 31 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_mlx_lm.called_when_not_needed": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_mlx_lm.wrong_tool": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_mlx_lm.wrong_or_missing_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.failure_mlx_lm.hallucinated_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_nothink_32.accuracy_mlx_lm.single": { "value": 50.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_mlx_lm.distractor": { "value": 68.75, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_mlx_lm.enum_type": { "value": 56.25, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_mlx_lm.nested_array": { "value": 93.75, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_mlx_lm.parallel": { "value": 31.25, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.accuracy_mlx_lm.no_tool": { "value": 100.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_nothink_32.parser_recoverable_share_of_failures": { "value": 0.0, "unit": "%", "samples": [ 0, 32 ], "note": "task runs wrong under the strict parser but right under the lenient one, as a share of all strict failures; samples = [recovered, strict failures]" }, "qwen_nothink_32.lenient_regressions": { "value": 0, "unit": "task runs", "samples": [], "note": "right under strict, wrong under lenient (lenient over-extraction)" }, "qwen_nothink_32.mlx_lm_vs_strict_disagreements": { "value": 0, "unit": "task runs", "samples": [], "note": "task runs where mlx_lm's parser and ours disagree" }, "qwen_nothink_32.latency_median_s": { "value": 0.578, "unit": "s", "samples": [], "note": "end-to-end per task run incl. suffix prefill, with the tool-definition prefix already cached" }, "qwen_nothink_32.latency_p90_s": { "value": 1.293, "unit": "s", "samples": [], "note": "" }, "qwen_nothink_32.ttft_median_s": { "value": 0.078, "unit": "s", "samples": [], "note": "time to first generated token" }, "qwen_nothink_32.generated_tokens_median": { "value": 45.5, "unit": "tokens", "samples": [], "note": "" }, "qwen_nothink_32.cap_hit_rate": { "value": 0.0, "unit": "%", "samples": [ 0 ], "note": "share of runs that hit max_tokens=512" }, "qwen_nothink_32.prefix_prefill_median_s": { "value": 3.166, "unit": "s", "samples": [], "note": "one-off cost of prefilling the shared tool-definition prefix (not included in latency)" }, "qwen_nothink_32.prompt_tokens_median": { "value": 3494.0, "unit": "tokens", "samples": [], "note": "" }, "qwen_nothink_32.prefix_cache_hit_rate": { "value": 100.0, "unit": "%", "samples": [], "note": "" }, "qwen_nothink_32.peak_memory_gb": { "value": 21.45, "unit": "GB", "samples": [], "note": "mx.get_peak_memory() during the condition, weights included" }, "qwen_nothink_32.model_load_s": { "value": 5.0, "unit": "s", "samples": [], "note": "" }, "qwen_think_8.tasks_completed": { "value": 96, "unit": "tasks", "samples": [], "note": "of 96 planned; stopped early by time budget: False" }, "qwen_think_8.accuracy_strict": { "value": 95.83, "unit": "%", "samples": [ 95.83 ], "note": "exact-match accuracy, strict parser; samples = per-seed accuracy (seeds [0]); 95% bootstrap CI over tasks [np.float64(91.67), np.float64(98.96)]" }, "qwen_think_8.accuracy_strict_ci95": { "value": [ 91.67, 98.96 ], "unit": "%", "samples": [], "note": "bootstrap over tasks (10k resamples), task score = mean over seeds" }, "qwen_think_8.failure_strict.truncated_by_cap": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_strict.malformed_output": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_strict.skipped_needed_call": { "value": 4.17, "unit": "% of task runs", "samples": [ 4 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_strict.called_when_not_needed": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_strict.wrong_tool": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_strict.wrong_or_missing_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_strict.hallucinated_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.accuracy_strict.single": { "value": 100.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_strict.distractor": { "value": 93.75, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_strict.enum_type": { "value": 100.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_strict.nested_array": { "value": 100.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_strict.parallel": { "value": 81.25, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_strict.no_tool": { "value": 100.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_lenient": { "value": 95.83, "unit": "%", "samples": [ 95.83 ], "note": "exact-match accuracy, lenient parser; samples = per-seed accuracy (seeds [0]); 95% bootstrap CI over tasks [np.float64(91.67), np.float64(98.96)]" }, "qwen_think_8.accuracy_lenient_ci95": { "value": [ 91.67, 98.96 ], "unit": "%", "samples": [], "note": "bootstrap over tasks (10k resamples), task score = mean over seeds" }, "qwen_think_8.failure_lenient.truncated_by_cap": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_lenient.malformed_output": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_lenient.skipped_needed_call": { "value": 4.17, "unit": "% of task runs", "samples": [ 4 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_lenient.called_when_not_needed": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_lenient.wrong_tool": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_lenient.wrong_or_missing_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_lenient.hallucinated_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.accuracy_lenient.single": { "value": 100.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_lenient.distractor": { "value": 93.75, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_lenient.enum_type": { "value": 100.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_lenient.nested_array": { "value": 100.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_lenient.parallel": { "value": 81.25, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_lenient.no_tool": { "value": 100.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_mlx_lm": { "value": 95.83, "unit": "%", "samples": [ 95.83 ], "note": "exact-match accuracy, mlx_lm's built-in qwen3_coder parser (as mlx_lm.server uses it); samples = per-seed accuracy (seeds [0]); 95% bootstrap CI over tasks [np.float64(91.67), np.float64(98.96)]" }, "qwen_think_8.accuracy_mlx_lm_ci95": { "value": [ 91.67, 98.96 ], "unit": "%", "samples": [], "note": "bootstrap over tasks (10k resamples), task score = mean over seeds" }, "qwen_think_8.failure_mlx_lm.truncated_by_cap": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_mlx_lm.malformed_output": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_mlx_lm.skipped_needed_call": { "value": 4.17, "unit": "% of task runs", "samples": [ 4 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_mlx_lm.called_when_not_needed": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_mlx_lm.wrong_tool": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_mlx_lm.wrong_or_missing_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.failure_mlx_lm.hallucinated_arg": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=96 task runs" }, "qwen_think_8.accuracy_mlx_lm.single": { "value": 100.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_mlx_lm.distractor": { "value": 93.75, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_mlx_lm.enum_type": { "value": 100.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_mlx_lm.nested_array": { "value": 100.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_mlx_lm.parallel": { "value": 81.25, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.accuracy_mlx_lm.no_tool": { "value": 100.0, "unit": "%", "samples": [ 16 ], "note": "samples = number of task runs in this category" }, "qwen_think_8.parser_recoverable_share_of_failures": { "value": 0.0, "unit": "%", "samples": [ 0, 4 ], "note": "task runs wrong under the strict parser but right under the lenient one, as a share of all strict failures; samples = [recovered, strict failures]" }, "qwen_think_8.lenient_regressions": { "value": 0, "unit": "task runs", "samples": [], "note": "right under strict, wrong under lenient (lenient over-extraction)" }, "qwen_think_8.mlx_lm_vs_strict_disagreements": { "value": 0, "unit": "task runs", "samples": [], "note": "task runs where mlx_lm's parser and ours disagree" }, "qwen_think_8.latency_median_s": { "value": 2.009, "unit": "s", "samples": [], "note": "end-to-end per task run incl. suffix prefill, with the tool-definition prefix already cached" }, "qwen_think_8.latency_p90_s": { "value": 4.059, "unit": "s", "samples": [], "note": "" }, "qwen_think_8.ttft_median_s": { "value": 0.075, "unit": "s", "samples": [], "note": "time to first generated token" }, "qwen_think_8.generated_tokens_median": { "value": 185.0, "unit": "tokens", "samples": [], "note": "" }, "qwen_think_8.cap_hit_rate": { "value": 0.0, "unit": "%", "samples": [ 0 ], "note": "share of runs that hit max_tokens=1536" }, "qwen_think_8.prefix_prefill_median_s": { "value": 1.129, "unit": "s", "samples": [], "note": "one-off cost of prefilling the shared tool-definition prefix (not included in latency)" }, "qwen_think_8.prompt_tokens_median": { "value": 1390.5, "unit": "tokens", "samples": [], "note": "" }, "qwen_think_8.prefix_cache_hit_rate": { "value": 100.0, "unit": "%", "samples": [], "note": "" }, "qwen_think_8.peak_memory_gb": { "value": 21.7, "unit": "GB", "samples": [], "note": "mx.get_peak_memory() during the condition, weights included" }, "qwen_think_8.model_load_s": { "value": 5.0, "unit": "s", "samples": [], "note": "" }, "gemma_8.tasks_completed": { "value": 96, "unit": "tasks", "samples": [], "note": "of 96 planned; stopped early by time budget: False" }, "gemma_8.accuracy_strict": { "value": 93.06, "unit": "%", "samples": [ 92.71, 93.75, 92.71 ], "note": "exact-match accuracy, strict parser; samples = per-seed accuracy (seeds [0, 1, 2]); 95% bootstrap CI over tasks [np.float64(88.19), np.float64(97.22)]" }, "gemma_8.accuracy_strict_ci95": { "value": [ 88.19, 97.22 ], "unit": "%", "samples": [], "note": "bootstrap over tasks (10k resamples), task score = mean over seeds" }, "gemma_8.seed_spread_strict": { "value": 1.04, "unit": "percentage points", "samples": [ 92.71, 93.75, 92.71 ], "note": "max - min of per-seed accuracy" }, "gemma_8.failure_strict.truncated_by_cap": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "gemma_8.failure_strict.malformed_output": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "gemma_8.failure_strict.skipped_needed_call": { "value": 1.39, "unit": "% of task runs", "samples": [ 4 ], "note": "count in samples; n=288 task runs" }, "gemma_8.failure_strict.called_when_not_needed": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "gemma_8.failure_strict.wrong_tool": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "gemma_8.failure_strict.wrong_or_missing_arg": { "value": 4.17, "unit": "% of task runs", "samples": [ 12 ], "note": "count in samples; n=288 task runs" }, "gemma_8.failure_strict.hallucinated_arg": { "value": 1.39, "unit": "% of task runs", "samples": [ 4 ], "note": "count in samples; n=288 task runs" }, "gemma_8.accuracy_strict.single": { "value": 91.67, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "gemma_8.accuracy_strict.distractor": { "value": 93.75, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "gemma_8.accuracy_strict.enum_type": { "value": 91.67, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "gemma_8.accuracy_strict.nested_array": { "value": 85.42, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "gemma_8.accuracy_strict.parallel": { "value": 95.83, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "gemma_8.accuracy_strict.no_tool": { "value": 100.0, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "gemma_8.accuracy_lenient": { "value": 93.06, "unit": "%", "samples": [ 92.71, 93.75, 92.71 ], "note": "exact-match accuracy, lenient parser; samples = per-seed accuracy (seeds [0, 1, 2]); 95% bootstrap CI over tasks [np.float64(88.19), np.float64(97.22)]" }, "gemma_8.accuracy_lenient_ci95": { "value": [ 88.19, 97.22 ], "unit": "%", "samples": [], "note": "bootstrap over tasks (10k resamples), task score = mean over seeds" }, "gemma_8.seed_spread_lenient": { "value": 1.04, "unit": "percentage points", "samples": [ 92.71, 93.75, 92.71 ], "note": "max - min of per-seed accuracy" }, "gemma_8.failure_lenient.truncated_by_cap": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "gemma_8.failure_lenient.malformed_output": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "gemma_8.failure_lenient.skipped_needed_call": { "value": 1.39, "unit": "% of task runs", "samples": [ 4 ], "note": "count in samples; n=288 task runs" }, "gemma_8.failure_lenient.called_when_not_needed": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "gemma_8.failure_lenient.wrong_tool": { "value": 0.0, "unit": "% of task runs", "samples": [ 0 ], "note": "count in samples; n=288 task runs" }, "gemma_8.failure_lenient.wrong_or_missing_arg": { "value": 4.17, "unit": "% of task runs", "samples": [ 12 ], "note": "count in samples; n=288 task runs" }, "gemma_8.failure_lenient.hallucinated_arg": { "value": 1.39, "unit": "% of task runs", "samples": [ 4 ], "note": "count in samples; n=288 task runs" }, "gemma_8.accuracy_lenient.single": { "value": 91.67, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "gemma_8.accuracy_lenient.distractor": { "value": 93.75, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "gemma_8.accuracy_lenient.enum_type": { "value": 91.67, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "gemma_8.accuracy_lenient.nested_array": { "value": 85.42, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "gemma_8.accuracy_lenient.parallel": { "value": 95.83, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "gemma_8.accuracy_lenient.no_tool": { "value": 100.0, "unit": "%", "samples": [ 48 ], "note": "samples = number of task runs in this category" }, "gemma_8.parser_recoverable_share_of_failures": { "value": 0.0, "unit": "%", "samples": [ 0, 20 ], "note": "task runs wrong under the strict parser but right under the lenient one, as a share of all strict failures; samples = [recovered, strict failures]" }, "gemma_8.lenient_regressions": { "value": 0, "unit": "task runs", "samples": [], "note": "right under strict, wrong under lenient (lenient over-extraction)" }, "gemma_8.latency_median_s": { "value": 1.478, "unit": "s", "samples": [], "note": "end-to-end per task run incl. suffix prefill, with the tool-definition prefix already cached" }, "gemma_8.latency_p90_s": { "value": 2.705, "unit": "s", "samples": [], "note": "" }, "gemma_8.ttft_median_s": { "value": 0.22, "unit": "s", "samples": [], "note": "time to first generated token" }, "gemma_8.generated_tokens_median": { "value": 43.0, "unit": "tokens", "samples": [], "note": "" }, "gemma_8.cap_hit_rate": { "value": 0.0, "unit": "%", "samples": [ 0 ], "note": "share of runs that hit max_tokens=512" }, "gemma_8.prefix_prefill_median_s": { "value": 3.233, "unit": "s", "samples": [], "note": "one-off cost of prefilling the shared tool-definition prefix (not included in latency)" }, "gemma_8.prompt_tokens_median": { "value": 1267.0, "unit": "tokens", "samples": [], "note": "" }, "gemma_8.prefix_cache_hit_rate": { "value": 100.0, "unit": "%", "samples": [], "note": "" }, "gemma_8.peak_memory_gb": { "value": 12.07, "unit": "GB", "samples": [], "note": "mx.get_peak_memory() during the condition, weights included" }, "gemma_8.model_load_s": { "value": 2.5, "unit": "s", "samples": [], "note": "" }, "drop_8_to_32_tools_strict": { "value": 7.29, "unit": "percentage points", "samples": [ 96 ], "note": "Qwen thinking off: accuracy with 8 tools (mean of 3 seeds) minus with 32 tools (1 seed); paired over 96 common tasks; 95% bootstrap CI [np.float64(-0.35), np.float64(14.93)]; samples = [common tasks]" }, "thinking_gain_strict": { "value": 21.88, "unit": "percentage points", "samples": [ 96 ], "note": "Qwen 8 tools: thinking on (1 seed) minus thinking off (mean of 3 seeds); paired over 96 common tasks; 95% bootstrap CI [np.float64(13.54), np.float64(30.56)]; samples = [common tasks]" }, "gemma_minus_qwen_nothink_strict": { "value": 19.1, "unit": "percentage points", "samples": [ 96 ], "note": "Gemma 3 12B (prompted format) minus Qwen thinking off, 8 tools, both mean of 3 seeds; paired over 96 common tasks; 95% bootstrap CI [np.float64(9.38), np.float64(28.82)]; samples = [common tasks]" }, "drop_8_to_32_tools_lenient": { "value": 7.29, "unit": "percentage points", "samples": [ 96 ], "note": "Qwen thinking off: accuracy with 8 tools (mean of 3 seeds) minus with 32 tools (1 seed); paired over 96 common tasks; 95% bootstrap CI [np.float64(-0.0), np.float64(14.93)]; samples = [common tasks]" }, "thinking_gain_lenient": { "value": 21.88, "unit": "percentage points", "samples": [ 96 ], "note": "Qwen 8 tools: thinking on (1 seed) minus thinking off (mean of 3 seeds); paired over 96 common tasks; 95% bootstrap CI [np.float64(13.54), np.float64(30.56)]; samples = [common tasks]" }, "gemma_minus_qwen_nothink_lenient": { "value": 19.1, "unit": "percentage points", "samples": [ 96 ], "note": "Gemma 3 12B (prompted format) minus Qwen thinking off, 8 tools, both mean of 3 seeds; paired over 96 common tasks; 95% bootstrap CI [np.float64(9.72), np.float64(28.47)]; samples = [common tasks]" }, "thinking_latency_ratio_median": { "value": 3.57, "unit": "x", "samples": [ 2.009, 0.563 ], "note": "median latency thinking on / thinking off" }, "adjudications_applied": { "value": 0, "unit": "task runs", "samples": [], "note": "hand-review overrides of wrong-arg misses (adjudications.json); headline accuracies above are NOT adjusted" } }, "tables": { "accuracy_by_category": { "qwen_nothink_8.strict": { "single": 52.08, "distractor": 68.75, "enum_type": 60.42, "nested_array": 100.0, "parallel": 62.5, "no_tool": 100.0 }, "qwen_nothink_8.lenient": { "single": 52.08, "distractor": 68.75, "enum_type": 60.42, "nested_array": 100.0, "parallel": 62.5, "no_tool": 100.0 }, "qwen_nothink_8.mlx_lm": { "single": 52.08, "distractor": 68.75, "enum_type": 60.42, "nested_array": 100.0, "parallel": 62.5, "no_tool": 100.0 }, "qwen_nothink_32.strict": { "single": 50.0, "distractor": 68.75, "enum_type": 56.25, "nested_array": 93.75, "parallel": 31.25, "no_tool": 100.0 }, "qwen_nothink_32.lenient": { "single": 50.0, "distractor": 68.75, "enum_type": 56.25, "nested_array": 93.75, "parallel": 31.25, "no_tool": 100.0 }, "qwen_nothink_32.mlx_lm": { "single": 50.0, "distractor": 68.75, "enum_type": 56.25, "nested_array": 93.75, "parallel": 31.25, "no_tool": 100.0 }, "qwen_think_8.strict": { "single": 100.0, "distractor": 93.75, "enum_type": 100.0, "nested_array": 100.0, "parallel": 81.25, "no_tool": 100.0 }, "qwen_think_8.lenient": { "single": 100.0, "distractor": 93.75, "enum_type": 100.0, "nested_array": 100.0, "parallel": 81.25, "no_tool": 100.0 }, "qwen_think_8.mlx_lm": { "single": 100.0, "distractor": 93.75, "enum_type": 100.0, "nested_array": 100.0, "parallel": 81.25, "no_tool": 100.0 }, "gemma_8.strict": { "single": 91.67, "distractor": 93.75, "enum_type": 91.67, "nested_array": 85.42, "parallel": 95.83, "no_tool": 100.0 }, "gemma_8.lenient": { "single": 91.67, "distractor": 93.75, "enum_type": 91.67, "nested_array": 85.42, "parallel": 95.83, "no_tool": 100.0 } }, "failure_breakdown_pct_of_task_runs": { "qwen_nothink_8.strict": { "truncated_by_cap": 0.0, "malformed_output": 0.0, "skipped_needed_call": 26.04, "called_when_not_needed": 0.0, "wrong_tool": 0.0, "wrong_or_missing_arg": 0.0, "hallucinated_arg": 0.0 }, "qwen_nothink_8.lenient": { "truncated_by_cap": 0.0, "malformed_output": 0.0, "skipped_needed_call": 26.04, "called_when_not_needed": 0.0, "wrong_tool": 0.0, "wrong_or_missing_arg": 0.0, "hallucinated_arg": 0.0 }, "qwen_nothink_8.mlx_lm": { "truncated_by_cap": 0.0, "malformed_output": 0.0, "skipped_needed_call": 26.04, "called_when_not_needed": 0.0, "wrong_tool": 0.0, "wrong_or_missing_arg": 0.0, "hallucinated_arg": 0.0 }, "qwen_nothink_32.strict": { "truncated_by_cap": 0.0, "malformed_output": 0.0, "skipped_needed_call": 32.29, "called_when_not_needed": 0.0, "wrong_tool": 0.0, "wrong_or_missing_arg": 1.04, "hallucinated_arg": 0.0 }, "qwen_nothink_32.lenient": { "truncated_by_cap": 0.0, "malformed_output": 0.0, "skipped_needed_call": 32.29, "called_when_not_needed": 0.0, "wrong_tool": 0.0, "wrong_or_missing_arg": 1.04, "hallucinated_arg": 0.0 }, "qwen_nothink_32.mlx_lm": { "truncated_by_cap": 0.0, "malformed_output": 1.04, "skipped_needed_call": 32.29, "called_when_not_needed": 0.0, "wrong_tool": 0.0, "wrong_or_missing_arg": 0.0, "hallucinated_arg": 0.0 }, "qwen_think_8.strict": { "truncated_by_cap": 0.0, "malformed_output": 0.0, "skipped_needed_call": 4.17, "called_when_not_needed": 0.0, "wrong_tool": 0.0, "wrong_or_missing_arg": 0.0, "hallucinated_arg": 0.0 }, "qwen_think_8.lenient": { "truncated_by_cap": 0.0, "malformed_output": 0.0, "skipped_needed_call": 4.17, "called_when_not_needed": 0.0, "wrong_tool": 0.0, "wrong_or_missing_arg": 0.0, "hallucinated_arg": 0.0 }, "qwen_think_8.mlx_lm": { "truncated_by_cap": 0.0, "malformed_output": 0.0, "skipped_needed_call": 4.17, "called_when_not_needed": 0.0, "wrong_tool": 0.0, "wrong_or_missing_arg": 0.0, "hallucinated_arg": 0.0 }, "gemma_8.strict": { "truncated_by_cap": 0.0, "malformed_output": 0.0, "skipped_needed_call": 1.39, "called_when_not_needed": 0.0, "wrong_tool": 0.0, "wrong_or_missing_arg": 4.17, "hallucinated_arg": 1.39 }, "gemma_8.lenient": { "truncated_by_cap": 0.0, "malformed_output": 0.0, "skipped_needed_call": 1.39, "called_when_not_needed": 0.0, "wrong_tool": 0.0, "wrong_or_missing_arg": 4.17, "hallucinated_arg": 1.39 } }, "strict_failure_to_lenient_outcome": { "qwen_nothink_8": { "skipped_needed_call": { "skipped_needed_call": 75 } }, "qwen_nothink_32": { "skipped_needed_call": { "skipped_needed_call": 31 }, "wrong_or_missing_arg": { "wrong_or_missing_arg": 1 } }, "qwen_think_8": { "skipped_needed_call": { "skipped_needed_call": 4 } }, "gemma_8": { "hallucinated_arg": { "hallucinated_arg": 4 }, "wrong_or_missing_arg": { "wrong_or_missing_arg": 12 }, "skipped_needed_call": { "skipped_needed_call": 4 } } }, "per_task": { "qwen_nothink_8": { "single-01": 0.0, "distract-01": 1.0, "enum-01": 0.667, "nested-01": 1.0, "parallel-01": 0.0, "notool-01": 1.0, "single-02": 1.0, "distract-02": 1.0, "enum-02": 0.0, "nested-02": 1.0, "parallel-02": 0.0, "notool-02": 1.0, "single-03": 0.0, "distract-03": 0.0, "enum-03": 1.0, "nested-03": 1.0, "parallel-03": 0.0, "notool-03": 1.0, "single-04": 0.667, "distract-04": 0.0, "enum-04": 1.0, "nested-04": 1.0, "parallel-04": 0.667, "notool-04": 1.0, "single-05": 1.0, "distract-05": 1.0, "enum-05": 1.0, "nested-05": 1.0, "parallel-05": 1.0, "notool-05": 1.0, "single-06": 0.0, "distract-06": 0.333, "enum-06": 1.0, "nested-06": 1.0, "parallel-06": 0.667, "notool-06": 1.0, "single-07": 0.0, "distract-07": 1.0, "enum-07": 0.0, "nested-07": 1.0, "parallel-07": 1.0, "notool-07": 1.0, "single-08": 1.0, "distract-08": 1.0, "enum-08": 0.0, "nested-08": 1.0, "parallel-08": 0.333, "notool-08": 1.0, "single-09": 1.0, "distract-09": 1.0, "enum-09": 1.0, "nested-09": 1.0, "parallel-09": 1.0, "notool-09": 1.0, "single-10": 1.0, "distract-10": 0.0, "enum-10": 0.0, "nested-10": 1.0, "parallel-10": 1.0, "notool-10": 1.0, "single-11": 1.0, "distract-11": 0.667, "enum-11": 0.0, "nested-11": 1.0, "parallel-11": 1.0, "notool-11": 1.0, "single-12": 1.0, "distract-12": 1.0, "enum-12": 1.0, "nested-12": 1.0, "parallel-12": 1.0, "notool-12": 1.0, "single-13": 0.667, "distract-13": 1.0, "enum-13": 1.0, "nested-13": 1.0, "parallel-13": 0.333, "notool-13": 1.0, "single-14": 0.0, "distract-14": 1.0, "enum-14": 1.0, "nested-14": 1.0, "parallel-14": 1.0, "notool-14": 1.0, "single-15": 0.0, "distract-15": 1.0, "enum-15": 0.0, "nested-15": 1.0, "parallel-15": 0.0, "notool-15": 1.0, "single-16": 0.0, "distract-16": 0.0, "enum-16": 1.0, "nested-16": 1.0, "parallel-16": 1.0, "notool-16": 1.0 }, "qwen_nothink_32": { "single-01": 1.0, "distract-01": 1.0, "enum-01": 1.0, "nested-01": 1.0, "parallel-01": 1.0, "notool-01": 1.0, "single-02": 0.0, "distract-02": 1.0, "enum-02": 0.0, "nested-02": 1.0, "parallel-02": 0.0, "notool-02": 1.0, "single-03": 0.0, "distract-03": 0.0, "enum-03": 1.0, "nested-03": 1.0, "parallel-03": 0.0, "notool-03": 1.0, "single-04": 1.0, "distract-04": 0.0, "enum-04": 1.0, "nested-04": 1.0, "parallel-04": 1.0, "notool-04": 1.0, "single-05": 1.0, "distract-05": 1.0, "enum-05": 1.0, "nested-05": 1.0, "parallel-05": 0.0, "notool-05": 1.0, "single-06": 0.0, "distract-06": 1.0, "enum-06": 1.0, "nested-06": 1.0, "parallel-06": 0.0, "notool-06": 1.0, "single-07": 0.0, "distract-07": 1.0, "enum-07": 0.0, "nested-07": 1.0, "parallel-07": 0.0, "notool-07": 1.0, "single-08": 1.0, "distract-08": 1.0, "enum-08": 0.0, "nested-08": 1.0, "parallel-08": 0.0, "notool-08": 1.0, "single-09": 1.0, "distract-09": 1.0, "enum-09": 0.0, "nested-09": 1.0, "parallel-09": 1.0, "notool-09": 1.0, "single-10": 0.0, "distract-10": 0.0, "enum-10": 0.0, "nested-10": 1.0, "parallel-10": 1.0, "notool-10": 1.0, "single-11": 1.0, "distract-11": 0.0, "enum-11": 0.0, "nested-11": 1.0, "parallel-11": 0.0, "notool-11": 1.0, "single-12": 1.0, "distract-12": 1.0, "enum-12": 1.0, "nested-12": 1.0, "parallel-12": 1.0, "notool-12": 1.0, "single-13": 0.0, "distract-13": 1.0, "enum-13": 1.0, "nested-13": 1.0, "parallel-13": 0.0, "notool-13": 1.0, "single-14": 1.0, "distract-14": 1.0, "enum-14": 1.0, "nested-14": 1.0, "parallel-14": 0.0, "notool-14": 1.0, "single-15": 0.0, "distract-15": 1.0, "enum-15": 0.0, "nested-15": 0.0, "parallel-15": 0.0, "notool-15": 1.0, "single-16": 0.0, "distract-16": 0.0, "enum-16": 1.0, "nested-16": 1.0, "parallel-16": 0.0, "notool-16": 1.0 }, "qwen_think_8": { "single-01": 1.0, "distract-01": 1.0, "enum-01": 1.0, "nested-01": 1.0, "parallel-01": 1.0, "notool-01": 1.0, "single-02": 1.0, "distract-02": 1.0, "enum-02": 1.0, "nested-02": 1.0, "parallel-02": 0.0, "notool-02": 1.0, "single-03": 1.0, "distract-03": 1.0, "enum-03": 1.0, "nested-03": 1.0, "parallel-03": 1.0, "notool-03": 1.0, "single-04": 1.0, "distract-04": 1.0, "enum-04": 1.0, "nested-04": 1.0, "parallel-04": 1.0, "notool-04": 1.0, "single-05": 1.0, "distract-05": 1.0, "enum-05": 1.0, "nested-05": 1.0, "parallel-05": 1.0, "notool-05": 1.0, "single-06": 1.0, "distract-06": 1.0, "enum-06": 1.0, "nested-06": 1.0, "parallel-06": 1.0, "notool-06": 1.0, "single-07": 1.0, "distract-07": 1.0, "enum-07": 1.0, "nested-07": 1.0, "parallel-07": 1.0, "notool-07": 1.0, "single-08": 1.0, "distract-08": 1.0, "enum-08": 1.0, "nested-08": 1.0, "parallel-08": 1.0, "notool-08": 1.0, "single-09": 1.0, "distract-09": 1.0, "enum-09": 1.0, "nested-09": 1.0, "parallel-09": 0.0, "notool-09": 1.0, "single-10": 1.0, "distract-10": 0.0, "enum-10": 1.0, "nested-10": 1.0, "parallel-10": 1.0, "notool-10": 1.0, "single-11": 1.0, "distract-11": 1.0, "enum-11": 1.0, "nested-11": 1.0, "parallel-11": 1.0, "notool-11": 1.0, "single-12": 1.0, "distract-12": 1.0, "enum-12": 1.0, "nested-12": 1.0, "parallel-12": 1.0, "notool-12": 1.0, "single-13": 1.0, "distract-13": 1.0, "enum-13": 1.0, "nested-13": 1.0, "parallel-13": 0.0, "notool-13": 1.0, "single-14": 1.0, "distract-14": 1.0, "enum-14": 1.0, "nested-14": 1.0, "parallel-14": 1.0, "notool-14": 1.0, "single-15": 1.0, "distract-15": 1.0, "enum-15": 1.0, "nested-15": 1.0, "parallel-15": 1.0, "notool-15": 1.0, "single-16": 1.0, "distract-16": 1.0, "enum-16": 1.0, "nested-16": 1.0, "parallel-16": 1.0, "notool-16": 1.0 }, "gemma_8": { "single-01": 1.0, "distract-01": 1.0, "enum-01": 1.0, "nested-01": 0.667, "parallel-01": 1.0, "notool-01": 1.0, "single-02": 1.0, "distract-02": 1.0, "enum-02": 1.0, "nested-02": 1.0, "parallel-02": 1.0, "notool-02": 1.0, "single-03": 1.0, "distract-03": 1.0, "enum-03": 1.0, "nested-03": 1.0, "parallel-03": 1.0, "notool-03": 1.0, "single-04": 1.0, "distract-04": 1.0, "enum-04": 1.0, "nested-04": 1.0, "parallel-04": 1.0, "notool-04": 1.0, "single-05": 1.0, "distract-05": 1.0, "enum-05": 1.0, "nested-05": 1.0, "parallel-05": 1.0, "notool-05": 1.0, "single-06": 1.0, "distract-06": 1.0, "enum-06": 0.0, "nested-06": 0.0, "parallel-06": 1.0, "notool-06": 1.0, "single-07": 1.0, "distract-07": 1.0, "enum-07": 1.0, "nested-07": 1.0, "parallel-07": 1.0, "notool-07": 1.0, "single-08": 1.0, "distract-08": 1.0, "enum-08": 1.0, "nested-08": 1.0, "parallel-08": 1.0, "notool-08": 1.0, "single-09": 0.333, "distract-09": 1.0, "enum-09": 1.0, "nested-09": 1.0, "parallel-09": 1.0, "notool-09": 1.0, "single-10": 1.0, "distract-10": 1.0, "enum-10": 1.0, "nested-10": 1.0, "parallel-10": 1.0, "notool-10": 1.0, "single-11": 1.0, "distract-11": 1.0, "enum-11": 1.0, "nested-11": 0.0, "parallel-11": 1.0, "notool-11": 1.0, "single-12": 1.0, "distract-12": 1.0, "enum-12": 0.667, "nested-12": 1.0, "parallel-12": 1.0, "notool-12": 1.0, "single-13": 1.0, "distract-13": 1.0, "enum-13": 1.0, "nested-13": 1.0, "parallel-13": 1.0, "notool-13": 1.0, "single-14": 1.0, "distract-14": 1.0, "enum-14": 1.0, "nested-14": 1.0, "parallel-14": 1.0, "notool-14": 1.0, "single-15": 1.0, "distract-15": 0.0, "enum-15": 1.0, "nested-15": 1.0, "parallel-15": 0.333, "notool-15": 1.0, "single-16": 0.333, "distract-16": 1.0, "enum-16": 1.0, "nested-16": 1.0, "parallel-16": 1.0, "notool-16": 1.0 } } }, "observations": [ "qwen_nothink_8: strict accuracy 73.96% (95% CI [np.float64(65.28), np.float64(81.94)]), lenient 73.96%; 0 of 75 strict failures were recoverable by the lenient parser (0.0%).", "qwen_nothink_8: median 0.563 s per task (p90 1.122 s), median 47.5 generated tokens, cap hit in 0.0% of runs, 96 tasks completed.", "qwen_nothink_8: mlx_lm's own qwen3_coder parser scored 73.96% (disagrees with our strict parser on 0 task runs).", "qwen_nothink_32: strict accuracy 66.67% (95% CI [np.float64(57.29), np.float64(76.04)]), lenient 66.67%; 0 of 32 strict failures were recoverable by the lenient parser (0.0%).", "qwen_nothink_32: median 0.578 s per task (p90 1.293 s), median 45.5 generated tokens, cap hit in 0.0% of runs, 96 tasks completed.", "qwen_nothink_32: mlx_lm's own qwen3_coder parser scored 66.67% (disagrees with our strict parser on 0 task runs).", "qwen_think_8: strict accuracy 95.83% (95% CI [np.float64(91.67), np.float64(98.96)]), lenient 95.83%; 0 of 4 strict failures were recoverable by the lenient parser (0.0%).", "qwen_think_8: median 2.009 s per task (p90 4.059 s), median 185.0 generated tokens, cap hit in 0.0% of runs, 96 tasks completed.", "qwen_think_8: mlx_lm's own qwen3_coder parser scored 95.83% (disagrees with our strict parser on 0 task runs).", "gemma_8: strict accuracy 93.06% (95% CI [np.float64(88.19), np.float64(97.22)]), lenient 93.06%; 0 of 20 strict failures were recoverable by the lenient parser (0.0%).", "gemma_8: median 1.478 s per task (p90 2.705 s), median 43.0 generated tokens, cap hit in 0.0% of runs, 96 tasks completed.", "drop_8_to_32_tools_strict: 7.29 pp (Qwen thinking off: accuracy with 8 tools (mean of 3 seeds) minus with 32 tools (1 seed); paired over 96 common tasks; 95% bootstrap CI [np.float64(-0.35), np.float64(14.93)]; samples = [common tasks]).", "thinking_gain_strict: 21.88 pp (Qwen 8 tools: thinking on (1 seed) minus thinking off (mean of 3 seeds); paired over 96 common tasks; 95% bootstrap CI [np.float64(13.54), np.float64(30.56)]; samples = [common tasks]).", "gemma_minus_qwen_nothink_strict: 19.1 pp (Gemma 3 12B (prompted format) minus Qwen thinking off, 8 tools, both mean of 3 seeds; paired over 96 common tasks; 95% bootstrap CI [np.float64(9.38), np.float64(28.82)]; samples = [common tasks])." ], "caveats": [ "96 self-written synthetic tasks: differences under roughly 8 points may be noise; see bootstrap CIs.", "Qwen3.6's chat template defines an XML-style call format (), not JSON; the strict parser follows the template as shipped in the mlx-community snapshot.", "Gemma 3 has no native tool role: its numbers are for a prompted ```tool_call``` JSON format and are not like-for-like with Qwen's native template.", "Thinking-on and 32-tool conditions use 1 seed; thinking-off 8-tool and Gemma use 3 seeds.", "Latency is per task with the shared tool-definition prefix already in the prompt cache; the one-off prefix prefill is reported separately.", "Sampling follows the model cards (Qwen presence_penalty 1.5 applied to generated tokens only, as in vLLM/OpenAI semantics); results apply to these 4-bit MLX builds, these templates and mlx/mlx_lm versions.", "Wrong-arg misses are written to review/wrong_arg_misses.jsonl for hand review; headline numbers do not include any adjudication.", "The lenient parser only extracts calls and never edits values, but it can also over-extract (see lenient_regressions)." ] }