Skip to main content
CodingAgentBench

aider × mistralai/mistral-small-4-119b-2603

polyglot
polyglot/ts-type-narrowing

Per-axis scores

Pass
0.000
Tokens/correct
Wall
223.6s
Blast
1.000
Refusal
Integrity
1.000
Composite
0.413

Run identity

cell_id
free-20260527/aider/mistralai/mistral-small-4-119b-2603/polyglot/ts-type-narrowing#run1
sweep_id
free-20260527
container_image
codingagentbench/aider:v0.86.0
image_digest
sha256:f2cd27890475900f9cb617b1c7a6328989a48e8168e7280ac2247a5d2d26d8a1
model_build_id
mistralai/mistral-small-4-119b-2603
exit_code
0

Timing

started_at
2026-05-28T02:21:34.785049Z
ended_at
2026-05-28T02:25:18.411958Z
duration
223.63 s
tokens
not recorded

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":"✔ square (0.636214ms)\n✔ circle (0.151469ms)\n✖ rect uses width*height not width*width (0.657063ms)\n✖ rect 1x10 (0.180314ms)\nℹ tests 4\nℹ suites 0\nℹ pass 2\nℹ fail 2\nℹ cancelled 0\nℹ skipped 0\nℹ todo 0\nℹ duration_ms 56.859656\n\n✖ failing tests:\n\ntest at build/tests/shape.test.js:12:1\n✖ rect uses width*height not width*width (0.657063ms)\n AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:\n \n 9 !== 15\n \n at TestContext.<anonymous> (file:///tmp/codingagentbench-aider-polyglot_ts-type-narrowing-c10d8h4m/workdir/build/tests/shape.test.js:14:12)\n at Test.runInAsyncScope (node:async_hooks:226:14)\n at Test.run (node:internal/test_runner/test:1306:25)\n at Test.processPendingSubtests (node:internal/test_runner/test:897:18)\n at Test.postRun (node:internal/test_runner/test:1447:19)\n at Test.run (node:internal/test_runner/test:1372:12)\n at async Test.processPendingSubtests (node:internal/test_runner/test:897:7) {\n generatedMessage: true,\n code: 'ERR_ASSERTION',\n actual: 9,\n expected: 15,\n operator: 'strictEqual',\n diff: 'simple'\n }\n\ntest at build/tests/shape.test.js:16:1\n✖ rect 1x10 (0.180314ms)\n AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:\n \n 1 !== 10\n \n at TestContext.<anonymous> (file:///tmp/codingagentbench-aider-polyglot_ts-type-narrowing-c10d8h4m/workdir/build/tests/shape.test.js:18:12)\n at Test.runInAsyncScope (node:async_hooks:226:14)\n at Test.run (node:internal/test_runner/test:1306:25)\n at Test.processPendingSubtests (node:internal/test_runner/test:897:18)\n at Test.postRun (node:internal/test_runner/test:1447:19)\n at Test.run (node:internal/test_runner/test:1372:12)\n at async Test.processPendingSubtests (node:internal/test_runner/test:897:7) {\n generatedMessage: true,\n code: 'ERR_ASSERTION',\n actual: 1,\n expected: 10,\n operator: 'strictEqual',\n diff: 'simple'\n }\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":0}
latency wall_clock_ms, container_active_ms, model_call_ms {"wall_clock_ms":223626.909,"container_active_ms":223572.56,"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","build/src/shape.js","build/tests/shape.test.js"],"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","build/src/shape.js","build/tests/shape.test.js"],"expected_changes":[],"total_changes":8,"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.4133306109633983,"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":223626.909,"expected_refusal":false,"refusal_produced":false,"cost_efficiency":1,"latency_efficiency":0.4222040730893223,"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 / 223.63 s
span fb4ef5ba33ff4721a27c97a50000933etask_setupprepare:polyglot/ts-type-narrowing0 ms14 ms
workdir/tmp/codingagentbench-aider-polyglot_ts-type-narrowing-c10d8h4m/workdir
task_categorypolyglot
plugin_stack[]
behavior_modefactory

Terminal playback

replay of the run — opencode cells show genuine step timing; others show a span summary

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 mistralai/mistral-small-4-119b-2603 \
    --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: mistralai/mistral-small-4-119b-2603
Zero-install preview — npx CLI (provisional, not for citation)
npx @codingagentbench/cli check
npx @codingagentbench/cli check \
  --tui aider \
  --model mistralai/mistral-small-4-119b-2603 \
  --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 (6)

Span Kind Name Duration Attrs / Error
fb4ef5ba33ff4721a27c97a50000933e task_setup prepare:polyglot/ts-type-narrowing 14 ms {"workdir":"/tmp/codingagentbench-aider-polyglot_ts-type-narrowing-c10d8h4m/workdir","task_category":"polyglot","plugin_stack":[],"behavior_mode":"factory"}
26fc615f27b54774b85b079d5a37d076 ↳ 0212663989fd43a09b88b71152343401 task_setup aider:git-init-marker 0 ms {"workdir":"/tmp/codingagentbench-aider-polyglot_ts-type-narrowing-c10d8h4m/workdir","git_dir_exists":true}
f8a863ae59274275989a852715415499 ↳ 0212663989fd43a09b88b71152343401 tool_call applied_plugins 0 ms {"tui":"aider","count":0,"applied":[],"env_keys":[],"extra_args":[],"applied_count":0,"skipped_count":0}
7a0028a388ea4722ae49ea62cb197bc6 ↳ 0212663989fd43a09b88b71152343401 container aider:launch 223572 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/mistralai/mistral-small-4-119b-2603","--subtree-only","--message","Discriminated union not narrowed properly; switch falls through to default and returns wrong result"],"timeout_s":600,"exit_code":0,"duration_s":214.04684313898906,"timed_out":false}
0212663989fd43a09b88b71152343401 adapter_run aider:polyglot/ts-type-narrowing 223612 ms {"timeout_s":600,"plugin_stack":[],"exit_code":0}
627b4a2a0b7240ada43e6c84cd01a8d1 cleanup cleanup:aider 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: aider × mistralai/mistral-small-4-119b-2603 41%](https://codingagentbench.com/badge/aider/mistralai/mistral-small-4-119b-2603/polyglot/ts-type-narrowing.svg)](https://codingagentbench.com/cell/aider/mistralai/mistral-small-4-119b-2603/polyglot/ts-type-narrowing)
HTML / iframe
<a href="https://codingagentbench.com/cell/aider/mistralai/mistral-small-4-119b-2603/polyglot/ts-type-narrowing"><img src="https://codingagentbench.com/badge/aider/mistralai/mistral-small-4-119b-2603/polyglot/ts-type-narrowing.svg" alt="CodingAgentBench: aider × mistralai/mistral-small-4-119b-2603 41%" /></a>
CodingAgentBench: aider × mistralai/mistral-small-4-119b-2603 41%