mirror of
https://github.com/hasso5703/alzeo.git
synced 2026-12-06 12:54:19 +01:00
No speed number says whether an agent client can execute what comes back, and that is what this box is used for. tools-check.py runs fifteen cases through this repo's own serving surface and scores them in four buckets that fail for different reasons and need different repairs: called, well formed, arguments, restraint. The split matters because a model that emits nothing is inert, while a model whose call the tool parser cannot turn into tool_calls looks to a client like a plain answer full of JSON, which it hands back to the user. The argument cases sit where a re-export degrades first: an escaped newline inside a JSON string, an apostrophe inside SQL, a date normalized to the schema's format, an enum spelled the schema's way, a nested object, an optional argument that must stay absent. Eleven gates drive a fake engine through each of those failure shapes, the happy path included, and they caught the probe's own bug: its first pass against a real engine failed a model for writing 'O''Brien', which is how SQL escapes an apostrophe, because the checker demanded the bare form. Fixed, gated, and both targets then measured with the same code, RadixArk re-run from a fresh boot rather than re-scored on paper. The comparison it completes, same lane, same unit, only the target swapped, first run after every boot thrown away: greedy median 46.3 against 46.9 tok/s, agent loop 28.2 against 27.7 ms/tok, GSM8K over all 1,319 questions 97.41% against 97.56%, MMLU 500 90.8% against 90.6% and identical to the digit on the STEM split, HumanEval 164 pass@1 95.73% against 96.95%, tool calling 15/15 and 15/15 against 15/15 and 14/15, conc-check clean and needle exact at 120K and 200K on both. Every quality gap is one or two questions, under the standard error of its own sample. Their N-gram tables are the same bytes, all 129 tensors matching on dtype, shape, exact length and the sha256 of the first and last 64 MiB of every one of the 128 shards; their expert quantizations are independently calibrated and their MTP heads are different objects. One number is outside the noise and it is not the advertised one: the KV pool. 517,184 / 534,016 / 547,584 on three RadixArk boots against 502,080 / 498,304 on two NVIDIA ones, ranges that do not overlap. NVIDIA's smaller fp8 draft is what its 174K against 93K comparison upstream is credited to, and on a lane that already removes the draft's disadvantage with --speculative-token-map it does not turn into a larger pool. flash stays the default on that, and flash-nvda stays a first-class target. Two of those measurements needed the harness repaired first: the image's run_eval --eval-name mmlu shells out to an sgl-eval binary it does not ship, and its HumanEval path needs a human_eval package that is not there either and then dies in os.fork because the image's filelock refuses one. Both had been logging an empty score, which reads exactly like a model that scored nothing. Also: bench-agent.py, conc-check.py, build-token-map.py and tools-check.py were in neither CI python list, so four of this repo's tools were never linted or byte-compiled by a build. They are now. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>