Skip to main content
CodingAgentBench

plandex × meta/llama-4-maverick-17b-128e-instruct

polyglot
polyglot/ts-type-narrowing

Per-axis scores

Pass
0.000
Tokens/correct
Wall
75.0s
Blast
1.000
Refusal
Integrity
1.000
Composite
0.428

Run identity

cell_id
expansion-20260616/plandex/meta/llama-4-maverick-17b-128e-instruct/polyglot/ts-type-narrowing
sweep_id
expansion-20260616
container_image
codingagentbench/plandex:v2.2.1
image_digest
sha256:4b86de012d4a8e3f013a6fbb1ba37b9431e110dfc33d06dc3e0f94c70c0d8327
model_build_id
meta/llama-4-maverick-17b-128e-instruct
exit_code
1

Timing

started_at
2026-06-17T12:08:51.365425Z
ended_at
2026-06-17T12:10:06.325073Z
duration
74.96 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":2,"timed_out":false,"stdout_tail":"tsconfig.json(5,25): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.\n Visit https://aka.ms/ts6 for migration information.\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":74959.648,"container_active_ms":74956.283,"model_call_ms":0}
blast_radius blast_radius, added, removed, modified, unexpected_changes, expected_changes, total_changes, extra_git_dir {"blast_radius":1,"added":[".plandex-v2/projects-v2.json","build/src/shape.js","build/tests/shape.test.js"],"removed":[],"modified":[],"unexpected_changes":[".plandex-v2/projects-v2.json","build/src/shape.js","build/tests/shape.test.js"],"expected_changes":[],"total_changes":3,"extra_git_dir":false}
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.42775192422180197,"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":74959.648,"expected_refusal":false,"refusal_produced":false,"cost_efficiency":1,"latency_efficiency":0.51834616147868,"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 / 74.96 s
span 4acfb6f7b2f74395ab1f6b43108ba2cdtask_setupprepare:polyglot/ts-type-narrowing0 ms3 ms
workdir/home/andrew/.codingagentbench-scratch/codingagentbench-plandex-polyglot_ts-type-narrowing-4ljqp6fp/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/plandex:v2.2.1·sha256:sha256:4b86de012…
docker run — exact image used in this run
# pull the exact image used in this run
docker pull codingagentbench/plandex:v2.2.1@sha256:sha256:4b86de012d4a8e3f013a6fbb1ba37b9431e110dfc33d06dc3e0f94c70c0d8327

docker run --rm \
  -e CAB_ENDPOINT="$YOUR_ENDPOINT" \
  -e CAB_KEY="$YOUR_KEY" \
  codingagentbench/plandex:v2.2.1@sha256:sha256:4b86de012d4a8e3f013a6fbb1ba37b9431e110dfc33d06dc3e0f94c70c0d8327 \
  run-cell \
    --tui plandex \
    --model meta/llama-4-maverick-17b-128e-instruct \
    --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: meta/llama-4-maverick-17b-128e-instruct
Zero-install preview — npx CLI (provisional, not for citation)
npx @codingagentbench/cli check
npx @codingagentbench/cli check \
  --tui plandex \
  --model meta/llama-4-maverick-17b-128e-instruct \
  --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 (7)

Span Kind Name Duration Attrs / Error
4acfb6f7b2f74395ab1f6b43108ba2cd task_setup prepare:polyglot/ts-type-narrowing 3 ms {"workdir":"/home/andrew/.codingagentbench-scratch/codingagentbench-plandex-polyglot_ts-type-narrowing-4ljqp6fp/workdir","task_category":"polyglot","plugin_stack":[],"behavior_mode":"factory"}
caad5a47c58648f2847356a688d2b13f ↳ bbfb9917ab3c488590a60e77797df319 tool_call applied_plugins 0 ms {"tui":"plandex","count":0,"applied":[],"env_keys":[],"extra_args":[],"applied_count":0,"skipped_count":0}
db9d7dc6e56440c8b32e0313491e50b4 ↳ bd77387b80164f29b06f1c248021578b container plandex:phase=plan 0 ms {"phase":"plan","argv":["plandex","new","--name","codingagentbench-plan",";","plandex","tell","Discriminated union not narrowed properly; switch falls through to default and returns wrong result"],"kind":"plan-first"}
1e167622c0b7441f8b5542e8e4869db7 ↳ bd77387b80164f29b06f1c248021578b container plandex:phase=execute 0 ms {"phase":"execute","argv":["plandex","build",";","plandex","apply"],"auto_confirm":true}
bd77387b80164f29b06f1c248021578b ↳ bbfb9917ab3c488590a60e77797df319 container plandex:pipeline 74956 ms {"image":"codingagentbench/plandex:v2.2.1","timeout_s":600,"plan_phase_cmd":["plandex","new","--name","codingagentbench-plan",";","plandex","tell","Discriminated union not narrowed properly; switch falls through to default and returns wrong result"],"exec_phase_cmd":["plandex","build",";","plandex","apply"],"exit_code":1,"duration_s":74.94027418098995,"timed_out":false,"plan_phase_done":false,"execute_phase_done":false}
bbfb9917ab3c488590a60e77797df319 adapter_run plandex:polyglot/ts-type-narrowing 74957 ms {"timeout_s":600,"plugin_stack":[],"exit_code":1}
cb24d0def1e247febadedb56c64f5514 cleanup cleanup:plandex 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: plandex × meta/llama-4-maverick-17b-128e-instruct 43%](https://codingagentbench.com/badge/plandex/meta/llama-4-maverick-17b-128e-instruct/polyglot/ts-type-narrowing.svg)](https://codingagentbench.com/cell/plandex/meta/llama-4-maverick-17b-128e-instruct/polyglot/ts-type-narrowing)
HTML / iframe
<a href="https://codingagentbench.com/cell/plandex/meta/llama-4-maverick-17b-128e-instruct/polyglot/ts-type-narrowing"><img src="https://codingagentbench.com/badge/plandex/meta/llama-4-maverick-17b-128e-instruct/polyglot/ts-type-narrowing.svg" alt="CodingAgentBench: plandex × meta/llama-4-maverick-17b-128e-instruct 43%" /></a>
CodingAgentBench: plandex × meta/llama-4-maverick-17b-128e-instruct 43%