AK-Benchbenchmark report

Task

wordcount-001@1.0.0

runs
12
success rate
83.3%
mean time
7 m 17 s
input tokens
880,965
generated tokens
20,251
tokens
901,216
tool calls
102

What the task asks

Word counting must ignore repeated whitespace

count_words splits on single spaces, so empty strings and runs of whitespace are counted wrong. The agent restores the documented behaviour.

full description (markdown source)
# Word counting must ignore repeated whitespace

`count_words` in `src/wordcount/text.py` is documented to count
whitespace-separated words, and an empty or whitespace-only string must count as
zero words.

Some inputs do not behave that way. Find out which, and fix the function so it
matches its documentation.

The public tests in `tests/` keep passing, so they are not enough on their own.

Constraints

Recorded identity

fieldvalue
uidwordcount-001@1.0.0
categorybug_fix
difficultyeasy
evaluatorpytest_evaluator
base commitHEAD
repositoryrepo-df7b22d8342e498d
snapshot digestsha256:2651055be454b53cf166c66ef56857397da9b43da426a17154e0c53de564edc7
sourcedatasets/_sources/wordcount
refHEAD
mutationnone
timeout300 s
hidden testshidden_tests
public testspublic_tests
definition digestsha256:2651055be454b53cf166c66ef56857397da9b43da426a17154e0c53de564edc7
definition path/mnt/data2/dev/develop/ak-bench/datasets/bug_fix/wordcount-001

Runs of this task

in the order they started; the parameters column is the configuration each run was executed under

runparametersstartedagentrepetitionstatusverdictscoretimeinput tokensgenerated tokenstotal tokenstool callsfailure classerror
run-20261102-033745-147a6170knowledge_enabled=False, model=qwen/Qwen3.8-27B2026-11-02 03:37:45codex@codex-cli 0.166.01completedpassed1.0003 m 10 s165,8752,586168,46118
run-20261102-034056-a469ad46knowledge_enabled=False, model=qwen/Qwen3.8-27B2026-11-02 03:40:56codex@codex-cli 0.166.02completedpassed1.0001 m 35 s53,8831,04554,9286
run-20261102-034231-ceec4cf9knowledge_enabled=False, model=qwen/Qwen3.8-27B2026-11-02 03:42:31codex@codex-cli 0.166.03completedpassed1.0001 m 16 s44,33870345,0415
run-20261102-034347-4d78071aknowledge_enabled=False, model=qwen/Qwen3.8-Flash-Next2026-11-02 03:43:47codex@codex-cli 0.166.01completedpassed1.0006 m 8 s59,5932,20261,7959
run-20261102-034956-2f8213a2knowledge_enabled=False, model=qwen/Qwen3.8-Flash-Next2026-11-02 03:49:56codex@codex-cli 0.166.02timeoutnot measured15 m 2 s83,8282,87486,70212agentThe fix is on disk, but git doesn't report `text.py` as modified — verifying against HEAD.
run-20261102-040500-60833b88knowledge_enabled=False, model=qwen/Qwen3.8-Flash-Next2026-11-02 04:05:00codex@codex-cli 0.166.03timeoutnot measured15 m 2 s29,76080330,5634agentFound it — the working tree modified `text.split()` into `text.split(" ")`. Let me confirm which inputs misbehave.
run-20261102-042003-4e77ac85knowledge_enabled=False, model=auto_codex2026-11-02 04:20:03codex@codex-cli 0.166.01completedpassed1.0008 m 12 s65,1431,86867,0117
run-20261102-042815-65e2ad9bknowledge_enabled=False, model=auto_codex2026-11-02 04:28:15codex@codex-cli 0.166.02completedpassed1.0006 m 51 s44,29172945,0205
run-20261102-043507-07326b31knowledge_enabled=False, model=auto_codex2026-11-02 04:35:07codex@codex-cli 0.166.03completedpassed1.00011 m 9 s91,8942,13994,03310
run-20261102-044616-5ced7f24knowledge_enabled=True, model=auto_codex2026-11-02 04:46:16codex@codex-cli 0.166.01completedpassed1.0005 m 20 s72,7571,52874,2858
run-20261102-045137-ae782a86knowledge_enabled=True, model=auto_codex2026-11-02 04:51:37codex@codex-cli 0.166.02completedpassed1.0008 m 13 s57,8801,59859,4786
run-20261102-045951-9062760dknowledge_enabled=True, model=auto_codex2026-11-02 04:59:51codex@codex-cli 0.166.03completedpassed1.0005 m 25 s111,7232,176113,89912

Not verified

Configurations that are not verified. They stay in the report, because a result produced under them is only as trustworthy as they are.
kindsubjectstatusrunnote
pluginagentic_knowledgeunsupportedrun-20261102-033745-147a6170LLM_ROUTER_KNOWLEDGE_AGENTIC_ENABLED is not set, so the plugin keeps its built-in default; verification methods effective_router_config, plugin_runtime_events, …
pluginagentic_routing_codexunsupportedrun-20261102-033745-147a6170descriptor declares no plugin-level toggle (benchmark.enabled_when), so activation is not observable and enabled is reported as false; verification methods resp …
pluginagentic_knowledgeunsupportedrun-20261102-034056-a469ad46LLM_ROUTER_KNOWLEDGE_AGENTIC_ENABLED is not set, so the plugin keeps its built-in default; verification methods effective_router_config, plugin_runtime_events, …
pluginagentic_routing_codexunsupportedrun-20261102-034056-a469ad46descriptor declares no plugin-level toggle (benchmark.enabled_when), so activation is not observable and enabled is reported as false; verification methods resp …
pluginagentic_knowledgeunsupportedrun-20261102-034231-ceec4cf9LLM_ROUTER_KNOWLEDGE_AGENTIC_ENABLED is not set, so the plugin keeps its built-in default; verification methods effective_router_config, plugin_runtime_events, …
pluginagentic_routing_codexunsupportedrun-20261102-034231-ceec4cf9descriptor declares no plugin-level toggle (benchmark.enabled_when), so activation is not observable and enabled is reported as false; verification methods resp …
pluginagentic_knowledgeunsupportedrun-20261102-034347-4d78071aLLM_ROUTER_KNOWLEDGE_AGENTIC_ENABLED is not set, so the plugin keeps its built-in default; verification methods effective_router_config, plugin_runtime_events, …
pluginagentic_routing_codexunsupportedrun-20261102-034347-4d78071adescriptor declares no plugin-level toggle (benchmark.enabled_when), so activation is not observable and enabled is reported as false; verification methods resp …
pluginagentic_knowledgeunsupportedrun-20261102-034956-2f8213a2LLM_ROUTER_KNOWLEDGE_AGENTIC_ENABLED is not set, so the plugin keeps its built-in default; verification methods effective_router_config, plugin_runtime_events, …
pluginagentic_routing_codexunsupportedrun-20261102-034956-2f8213a2descriptor declares no plugin-level toggle (benchmark.enabled_when), so activation is not observable and enabled is reported as false; verification methods resp …
pluginagentic_knowledgeunsupportedrun-20261102-040500-60833b88LLM_ROUTER_KNOWLEDGE_AGENTIC_ENABLED is not set, so the plugin keeps its built-in default; verification methods effective_router_config, plugin_runtime_events, …
pluginagentic_routing_codexunsupportedrun-20261102-040500-60833b88descriptor declares no plugin-level toggle (benchmark.enabled_when), so activation is not observable and enabled is reported as false; verification methods resp …
pluginagentic_knowledgeunsupportedrun-20261102-042003-4e77ac85LLM_ROUTER_KNOWLEDGE_AGENTIC_ENABLED is not set, so the plugin keeps its built-in default; verification methods effective_router_config, plugin_runtime_events, …
pluginagentic_routing_codexunsupportedrun-20261102-042003-4e77ac85descriptor declares no plugin-level toggle (benchmark.enabled_when), so activation is not observable and enabled is reported as false; verification methods resp …
pluginagentic_knowledgeunsupportedrun-20261102-042815-65e2ad9bLLM_ROUTER_KNOWLEDGE_AGENTIC_ENABLED is not set, so the plugin keeps its built-in default; verification methods effective_router_config, plugin_runtime_events, …
pluginagentic_routing_codexunsupportedrun-20261102-042815-65e2ad9bdescriptor declares no plugin-level toggle (benchmark.enabled_when), so activation is not observable and enabled is reported as false; verification methods resp …
pluginagentic_knowledgeunsupportedrun-20261102-043507-07326b31LLM_ROUTER_KNOWLEDGE_AGENTIC_ENABLED is not set, so the plugin keeps its built-in default; verification methods effective_router_config, plugin_runtime_events, …
pluginagentic_routing_codexunsupportedrun-20261102-043507-07326b31descriptor declares no plugin-level toggle (benchmark.enabled_when), so activation is not observable and enabled is reported as false; verification methods resp …
pluginagentic_knowledgeunsupportedrun-20261102-044616-5ced7f24LLM_ROUTER_KNOWLEDGE_AGENTIC_ENABLED is not set, so the plugin keeps its built-in default; verification methods effective_router_config, plugin_runtime_events, …
pluginagentic_routing_codexunsupportedrun-20261102-044616-5ced7f24descriptor declares no plugin-level toggle (benchmark.enabled_when), so activation is not observable and enabled is reported as false; verification methods resp …
pluginagentic_knowledgeunsupportedrun-20261102-045137-ae782a86LLM_ROUTER_KNOWLEDGE_AGENTIC_ENABLED is not set, so the plugin keeps its built-in default; verification methods effective_router_config, plugin_runtime_events, …
pluginagentic_routing_codexunsupportedrun-20261102-045137-ae782a86descriptor declares no plugin-level toggle (benchmark.enabled_when), so activation is not observable and enabled is reported as false; verification methods resp …
pluginagentic_knowledgeunsupportedrun-20261102-045951-9062760dLLM_ROUTER_KNOWLEDGE_AGENTIC_ENABLED is not set, so the plugin keeps its built-in default; verification methods effective_router_config, plugin_runtime_events, …
pluginagentic_routing_codexunsupportedrun-20261102-045951-9062760ddescriptor declares no plugin-level toggle (benchmark.enabled_when), so activation is not observable and enabled is reported as false; verification methods resp …
modelqwen/Qwen3.8-27Bunverifiedrun-20261102-033745-147a6170
modelqwen/Qwen3.8-27Bunverifiedrun-20261102-034056-a469ad46
modelqwen/Qwen3.8-27Bunverifiedrun-20261102-034231-ceec4cf9
modelqwen/Qwen3.8-Flash-Nextunverifiedrun-20261102-034347-4d78071a
modelqwen/Qwen3.8-Flash-Nextunverifiedrun-20261102-034956-2f8213a2
modelqwen/Qwen3.8-Flash-Nextunverifiedrun-20261102-040500-60833b88
modelauto_codexunverifiedrun-20261102-042003-4e77ac85
modelauto_codexunverifiedrun-20261102-042815-65e2ad9b
modelauto_codexunverifiedrun-20261102-043507-07326b31
modelauto_codexunverifiedrun-20261102-044616-5ced7f24
modelauto_codexunverifiedrun-20261102-045137-ae782a86
modelauto_codexunverifiedrun-20261102-045951-9062760d