Skip to main content
CodingAgentBench

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

polyglot
polyglot/ts-type-narrowing

Per-axis scores

Pass
1.000
Tokens/correct
Wall
336.6s
Blast
0.833
Refusal
Integrity
1.000
Composite
0.826

Run identity

cell_id
newmodels-20260620/qwen-code/qwen/qwen3.5-397b-a17b/polyglot/ts-type-narrowing
sweep_id
newmodels-20260620
container_image
codingagentbench/qwen-code:v0.16.1
image_digest
sha256:597f01dba22092cfdcfc7a593f2c5a658a9e647bae60709f04aaba33622c961d
model_build_id
qwen/qwen3.5-397b-a17b
exit_code
0

Timing

started_at
2026-06-21T00:15:05.249316Z
ended_at
2026-06-21T00:20:41.823498Z
duration
336.57 s
tokens
not recorded

Scorer breakdown

Axis Keys Values
pass_rate pass, exit_code, timed_out, stdout_tail, stderr_tail, partial_score {"pass":1,"exit_code":0,"timed_out":false,"stdout_tail":"✔ square (1.191478ms)\n✔ circle (0.402676ms)\n✔ rect uses width*height not width*width (0.18875ms)\n✔ rect 1x10 (0.217193ms)\nℹ tests 4\nℹ suites 0\nℹ pass 4\nℹ fail 0\nℹ cancelled 0\nℹ skipped 0\nℹ todo 0\nℹ duration_ms 109.940157\n","stderr_tail":"","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":1}
latency wall_clock_ms, container_active_ms, model_call_ms {"wall_clock_ms":336574.18200000003,"container_active_ms":336552.399,"model_call_ms":0}
blast_radius blast_radius, added, removed, modified, unexpected_changes, expected_changes, total_changes, extra_git_dir {"blast_radius":0.8333333333333334,"added":["build/src/shape.js","build/tests/shape.test.js","package-lock.json"],"removed":[],"modified":["package.json","src/shape.ts","tsconfig.json"],"unexpected_changes":["build/src/shape.js","build/tests/shape.test.js","package-lock.json","package.json","tsconfig.json"],"expected_changes":["src/shape.ts"],"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/ts-type-narrowing"}
composite composite, weights, components, note {"composite":0.8257265233568398,"weights":{"pass_rate":0.4,"integrity":0.2,"cost":0.15,"latency":0.15,"blast_radius":0.1},"components":{"pass_rate":1,"integrity":1,"blast_radius":0.8333333333333334,"tokens_per_correct_task":0,"wall_clock_ms":336574.18200000003,"expected_refusal":false,"refusal_produced":false,"cost_efficiency":1,"latency_efficiency":0.3937323779344877,"clean_blast":0.16666666666666663,"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 / 336.57 s
span 1006f90cbf9d43a8a0a418e612619fc3task_setupprepare:polyglot/ts-type-narrowing0 ms21 ms
workdir/home/andrew/.codingagentbench-scratch/codingagentbench-qwen-code-polyglot_ts-type-narrowing-fqcv3k6v/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/qwen-code:v0.16.1·sha256:sha256:597f01dba…
docker run — exact image used in this run
# pull the exact image used in this run
docker pull codingagentbench/qwen-code:v0.16.1@sha256:sha256:597f01dba22092cfdcfc7a593f2c5a658a9e647bae60709f04aaba33622c961d

docker run --rm \
  -e CAB_ENDPOINT="$YOUR_ENDPOINT" \
  -e CAB_KEY="$YOUR_KEY" \
  codingagentbench/qwen-code:v0.16.1@sha256:sha256:597f01dba22092cfdcfc7a593f2c5a658a9e647bae60709f04aaba33622c961d \
  run-cell \
    --tui qwen-code \
    --model qwen/qwen3.5-397b-a17b \
    --task polyglot/ts-type-narrowing

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 qwen-code \
  --model qwen/qwen3.5-397b-a17b \
  --endpoint "$YOUR_ENDPOINT" \
  --key "$YOUR_KEY" \
  --task polyglot/ts-type-narrowing
# provisional score — not for citation

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

Trace spans (5)

Span Kind Name Duration Attrs / Error
1006f90cbf9d43a8a0a418e612619fc3 task_setup prepare:polyglot/ts-type-narrowing 21 ms {"workdir":"/home/andrew/.codingagentbench-scratch/codingagentbench-qwen-code-polyglot_ts-type-narrowing-fqcv3k6v/workdir","task_category":"polyglot","plugin_stack":[],"behavior_mode":"factory"}
9c0c927502ab49dd97704ae7f65b0462 ↳ d4be80b2aace4f7da26651f7725ab92c tool_call applied_plugins 0 ms {"tui":"qwen-code","count":0,"applied":[],"env_keys":[],"extra_args":[],"applied_count":0,"skipped_count":0}
6d1ff8b6dabe497596978ab61fcf0c44 ↳ d4be80b2aace4f7da26651f7725ab92c container qwen-code:run 336553 ms {"image":"codingagentbench/qwen-code:v0.16.1","command":["-p","Discriminated union not narrowed properly; switch falls through to default and returns wrong result","--yolo"],"model":"qwen/qwen3.5-397b-a17b","exit_code":0,"timed_out":false}
d4be80b2aace4f7da26651f7725ab92c adapter_run qwen-code:polyglot/ts-type-narrowing 336553 ms {"timeout_s":600,"plugin_stack":[],"exit_code":0}
1d0a052fbb4346f38ffb409b4581be7b cleanup cleanup:qwen-code 0 ms {}

Model calls (0)

# Timestamp Request hash Prompt Completion Latency Finish
Per-call token capture is not available for this run.

Other CLIs on this task

Other models with this CLI

Other tasks in this category

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