Skip to main content
CodingAgentBench

aider × qwen/qwen3.5-397b-a17b

polyglot
polyglot/python-two-sum

Per-axis scores

Pass
0.000
Tokens/correct
Wall
12.3s
Blast
1.000
Refusal
Integrity
1.000
Composite
0.461

Run identity

cell_id
newmodels-20260620/aider/qwen/qwen3.5-397b-a17b/polyglot/python-two-sum
sweep_id
newmodels-20260620
container_image
codingagentbench/aider:v0.86.0
image_digest
sha256:f2cd27890475900f9cb617b1c7a6328989a48e8168e7280ac2247a5d2d26d8a1
model_build_id
qwen/qwen3.5-397b-a17b
exit_code
0

Timing

started_at
2026-06-20T19:29:13.233517Z
ended_at
2026-06-20T19:29:25.526701Z
duration
12.29 s
prompt_tokens
994
completion_tokens
46
tokens source
TUI stdout

Scorer breakdown

Axis Keys Values
pass_rate pass, exit_code, timed_out, stdout_tail, stderr_tail, partial_score {"pass":0,"exit_code":1,"timed_out":false,"stdout_tail":"","stderr_tail":"l(two_sum([3, 2, 4], 6), (1, 2))\nAssertionError: Tuples differ: (0, 0) != (1, 2)\n\nFirst differing element 0:\n0\n1\n\n- (0, 0)\n+ (1, 2)\n\n======================================================================\nFAIL: test_same_value_two_indices (test_two_sum.TestTwoSum.test_same_value_two_indices)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/andrew/.codingagentbench-scratch/codingagentbench-aider-polyglot_python-two-sum-diygw32_/workdir/tests/test_two_sum.py\", line 22, in test_same_value_two_indices\n self.assertEqual(two_sum([3, 3], 6), (0, 1))\nAssertionError: Tuples differ: (0, 0) != (0, 1)\n\nFirst differing element 1:\n0\n1\n\n- (0, 0)\n? ^\n\n+ (0, 1)\n? ^\n\n\n======================================================================\nFAIL: test_target_double_unique_element (test_two_sum.TestTwoSum.test_target_double_unique_element)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/andrew/.codingagentbench-scratch/codingagentbench-aider-polyglot_python-two-sum-diygw32_/workdir/tests/test_two_sum.py\", line 26, in test_target_double_unique_element\n self.assertIsNone(two_sum([4], 8))\nAssertionError: (0, 0) is not None\n\n======================================================================\nFAIL: test_target_double_with_other_pair (test_two_sum.TestTwoSum.test_target_double_with_other_pair)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/andrew/.codingagentbench-scratch/codingagentbench-aider-polyglot_python-two-sum-diygw32_/workdir/tests/test_two_sum.py\", line 30, in test_target_double_with_other_pair\n self.assertEqual(two_sum([4, 1, 7], 8), (1, 2))\nAssertionError: Tuples differ: (0, 0) != (1, 2)\n\nFirst differing element 0:\n0\n1\n\n- (0, 0)\n+ (1, 2)\n\n----------------------------------------------------------------------\nRan 8 tests in 0.002s\n\nFAILED (failures=4)\n","partial_score":null}
tokens prompt_tokens, completion_tokens, total_tokens, model_calls, tokens_per_correct_task, pass_used_for_division {"prompt_tokens":0,"completion_tokens":0,"total_tokens":0,"model_calls":0,"tokens_per_correct_task":0,"pass_used_for_division":0}
latency wall_clock_ms, container_active_ms, model_call_ms {"wall_clock_ms":12293.184,"container_active_ms":12268.269,"model_call_ms":0}
blast_radius blast_radius, added, removed, modified, unexpected_changes, expected_changes, total_changes, extra_git_dir {"blast_radius":1,"added":[".aider.chat.history.md",".aider.input.history",".aider.tags.cache.v4/cache.db",".aider/analytics.json",".aider/caches/model_prices_and_context_window.json",".aider/installs.json"],"removed":[],"modified":[],"unexpected_changes":[".aider.chat.history.md",".aider.input.history",".aider.tags.cache.v4/cache.db",".aider/analytics.json",".aider/caches/model_prices_and_context_window.json",".aider/installs.json"],"expected_changes":[],"total_changes":6,"extra_git_dir":true}
refusal refusal, not_applicable, expected_refusal, refusal_produced, refusal_correct, marker_hits, keyword_hits {"refusal":0,"not_applicable":true,"expected_refusal":false,"refusal_produced":false,"refusal_correct":null,"marker_hits":[],"keyword_hits":[]}
integrity integrity, not_applicable, task_id {"integrity":1,"not_applicable":true,"task_id":"polyglot/python-two-sum"}
composite composite, weights, components, note {"composite":0.46126175948797116,"weights":{"pass_rate":0.4,"integrity":0.2,"cost":0.15,"latency":0.15,"blast_radius":0.1},"components":{"pass_rate":0,"integrity":1,"blast_radius":1,"tokens_per_correct_task":0,"wall_clock_ms":12293.184,"expected_refusal":false,"refusal_produced":false,"cost_efficiency":1,"latency_efficiency":0.7417450632531413,"clean_blast":0,"refusal_factor":1},"note":"Single-cell composite — sweep-level normalisation lives in the runner. MANIFESTO #6: per-axis numbers are canonical; composite is derivative."}

Trace replay

space play/pause · ←/→ step span · ,/. step 100 ms
t = 0 ms / 12.29 s
span 6e3f116f62f046239fa5b511cae9e8d9task_setupprepare:polyglot/python-two-sum0 ms24 ms
workdir/home/andrew/.codingagentbench-scratch/codingagentbench-aider-polyglot_python-two-sum-diygw32_/workdir
task_categorypolyglot
plugin_stack[]
behavior_modefactory

Terminal playback

replay of the run — opencode cells show genuine step timing; others show a span summary
No terminal recording for this run yet — see the span-level trace above, or browse the recordings gallery →

Run it yourself

Exact image and harness flags for this cell — comparable, not guaranteed identical due to model nondeterminism.

Imagecodingagentbench/aider:v0.86.0·sha256:sha256:f2cd27890…
docker run — exact image used in this run
# pull the exact image used in this run
docker pull codingagentbench/aider:v0.86.0@sha256:sha256:f2cd27890475900f9cb617b1c7a6328989a48e8168e7280ac2247a5d2d26d8a1

docker run --rm \
  -e CAB_ENDPOINT="$YOUR_ENDPOINT" \
  -e CAB_KEY="$YOUR_KEY" \
  codingagentbench/aider:v0.86.0@sha256:sha256:f2cd27890475900f9cb617b1c7a6328989a48e8168e7280ac2247a5d2d26d8a1 \
  run-cell \
    --tui aider \
    --model qwen/qwen3.5-397b-a17b \
    --task polyglot/python-two-sum

Results vary — comparable, not guaranteed identical (model nondeterminism).

Explore with your own model

Substitute your endpoint, key, and model ID. Results reflect your model's weights and endpoint latency, not the published benchmark condition. Endpoint must speak OpenAI-compatible /v1/chat/completions.

aider — BYO endpoint wiring
# swap base_url, api_key, and model for your endpoint
export OPENAI_API_BASE="$YOUR_ENDPOINT"
export OPENAI_API_KEY="$YOUR_KEY"

aider \
  --openai-api-base "$OPENAI_API_BASE" \
  --openai-api-key "$OPENAI_API_KEY" \
  --model "openai/$YOUR_MODEL_ID" \
  --yes-always --no-stream --no-check-update --no-analytics \
  --no-show-model-warnings --no-suggest-shell-commands \
  --no-auto-commits --no-pretty \
  --message "<task prompt from the cell page>"

# Published cell used model: qwen/qwen3.5-397b-a17b
Zero-install preview — npx CLI (provisional, not for citation)
npx @codingagentbench/cli check
npx @codingagentbench/cli check \
  --tui aider \
  --model qwen/qwen3.5-397b-a17b \
  --endpoint "$YOUR_ENDPOINT" \
  --key "$YOUR_KEY" \
  --task polyglot/python-two-sum
# provisional score — not for citation

Provisional score — not for citation. Use the Docker or Harness CLI path for citable results.

Trace spans (6)

Span Kind Name Duration Attrs / Error
6e3f116f62f046239fa5b511cae9e8d9 task_setup prepare:polyglot/python-two-sum 24 ms {"workdir":"/home/andrew/.codingagentbench-scratch/codingagentbench-aider-polyglot_python-two-sum-diygw32_/workdir","task_category":"polyglot","plugin_stack":[],"behavior_mode":"factory"}
bc774e99d2a04d87b17c89742997ada7 ↳ 55b2bc62c93348ec8901874578e25d38 task_setup aider:git-init-marker 0 ms {"workdir":"/home/andrew/.codingagentbench-scratch/codingagentbench-aider-polyglot_python-two-sum-diygw32_/workdir","git_dir_exists":true}
6ceff274964947d8874c4b1cf90bd018 ↳ 55b2bc62c93348ec8901874578e25d38 tool_call applied_plugins 0 ms {"tui":"aider","count":0,"applied":[],"env_keys":[],"extra_args":[],"applied_count":0,"skipped_count":0}
3b60c9da9fa34fd588989d70cfe6d8c1 ↳ 55b2bc62c93348ec8901874578e25d38 container aider:launch 12268 ms {"image":"codingagentbench/aider:v0.86.0","argv":["--yes-always","--no-stream","--no-check-update","--no-analytics","--no-show-model-warnings","--no-suggest-shell-commands","--no-auto-commits","--no-pretty","--openai-api-base","http://172.17.0.1:31415/v1","--openai-api-key","sk-ijYE3GGIl2pTqBtwcCcuaIsZzYIIFrIWLMG3qmOK","--model","openai/qwen/qwen3.5-397b-a17b","--subtree-only","--message","Find two indices summing to target; broken hash-map walk returns the same index twice"],"timeout_s":600,"exit_code":0,"duration_s":12.240731553989463,"timed_out":false}
55b2bc62c93348ec8901874578e25d38 adapter_run aider:polyglot/python-two-sum 12269 ms {"timeout_s":600,"plugin_stack":[],"exit_code":0}
06e9f9a7c84540d496fc8e6305b6e008 cleanup cleanup:aider 0 ms {}

Model calls (0)

# Timestamp Request hash Prompt Completion Latency Finish
Per-call records not captured for this run. TUI-reported session totals: 994 prompt + 46 completion tokens.

Other CLIs on this task

Other models with this CLI

Other tasks in this category

Embed this result
README / Markdown
[![CodingAgentBench: aider × qwen/qwen3.5-397b-a17b 46%](https://codingagentbench.com/badge/aider/qwen/qwen3.5-397b-a17b/polyglot/python-two-sum.svg)](https://codingagentbench.com/cell/aider/qwen/qwen3.5-397b-a17b/polyglot/python-two-sum)
HTML / iframe
<a href="https://codingagentbench.com/cell/aider/qwen/qwen3.5-397b-a17b/polyglot/python-two-sum"><img src="https://codingagentbench.com/badge/aider/qwen/qwen3.5-397b-a17b/polyglot/python-two-sum.svg" alt="CodingAgentBench: aider × qwen/qwen3.5-397b-a17b 46%" /></a>
CodingAgentBench: aider × qwen/qwen3.5-397b-a17b 46%