Skip to main content
CodingAgentBench

codex × z-ai/glm-5.1

polyglot
polyglot/rust-lifetime-fix
Model incompatible with this TUI — they could not handshake.
All scores are reported as recorded. A failed run's zero is an honest measurement.

Per-axis scores

Pass
0.000
Tokens/correct
Wall
1.1s
Blast
0.000
Refusal
Integrity
1.000
Composite
0.594

Run identity

cell_id
expansion-20260616/codex/z-ai/glm-5.1/polyglot/rust-lifetime-fix
sweep_id
expansion-20260616
container_image
codingagentbench/codex:v0.140.0
image_digest
sha256:52116224fbc698acc448343890c4542efcc101a950ef8c8de1eca3e051f228bc
model_build_id
z-ai/glm-5.1
exit_code
1

Timing

started_at
2026-06-17T01:06:44.796082Z
ended_at
2026-06-17T01:06:45.888479Z
duration
1.09 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":"error[E0106]: missing lifetime specifier\n --> src/lib.rs:3:37\n |\n3 | pub fn longest(a: &str, b: &str) -> &str {\n | ---- ---- ^ expected named lifetime parameter\n |\n = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `a` or `b`\nhelp: consider introducing a named lifetime parameter\n |\n3 | pub fn longest<'a>(a: &'a str, b: &'a str) -> &'a str {\n | ++++ ++ ++ ++\n\nerror: aborting due to 1 previous error\n\nFor more information about this error, try `rustc --explain E0106`.\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":1092.3970000000002,"container_active_ms":1078.8329999999999,"model_call_ms":0}
blast_radius blast_radius, added, removed, modified, unexpected_changes, expected_changes, total_changes, extra_git_dir {"blast_radius":0,"added":[],"removed":[],"modified":[],"unexpected_changes":[],"expected_changes":[],"total_changes":0,"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/rust-lifetime-fix"}
composite composite, weights, components, note {"composite":0.5935371803638583,"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":0,"tokens_per_correct_task":0,"wall_clock_ms":1092.3970000000002,"expected_refusal":false,"refusal_produced":false,"cost_efficiency":1,"latency_efficiency":0.9569145357590553,"clean_blast":1,"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 / 1.09 s
span 832955d67f06401a8e83df9ace4eb03btask_setupprepare:polyglot/rust-lifetime-fix0 ms13 ms
workdir/home/andrew/.codingagentbench-scratch/codingagentbench-codex-polyglot_rust-lifetime-fix-p490phze/workdir
task_categorypolyglot
plugin_stack[]
behavior_modefactory

Watch it fail

the TUI and model could not handshake
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/codex:v0.140.0·sha256:sha256:52116224f…
docker run — exact image used in this run
# pull the exact image used in this run
docker pull codingagentbench/codex:v0.140.0@sha256:sha256:52116224fbc698acc448343890c4542efcc101a950ef8c8de1eca3e051f228bc

docker run --rm \
  -e CAB_ENDPOINT="$YOUR_ENDPOINT" \
  -e CAB_KEY="$YOUR_KEY" \
  codingagentbench/codex:v0.140.0@sha256:sha256:52116224fbc698acc448343890c4542efcc101a950ef8c8de1eca3e051f228bc \
  run-cell \
    --tui codex \
    --model z-ai/glm-5.1 \
    --task polyglot/rust-lifetime-fix

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: z-ai/glm-5.1
Zero-install preview — npx CLI (provisional, not for citation)
npx @codingagentbench/cli check
npx @codingagentbench/cli check \
  --tui codex \
  --model z-ai/glm-5.1 \
  --endpoint "$YOUR_ENDPOINT" \
  --key "$YOUR_KEY" \
  --task polyglot/rust-lifetime-fix
# 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
832955d67f06401a8e83df9ace4eb03b task_setup prepare:polyglot/rust-lifetime-fix 13 ms {"workdir":"/home/andrew/.codingagentbench-scratch/codingagentbench-codex-polyglot_rust-lifetime-fix-p490phze/workdir","task_category":"polyglot","plugin_stack":[],"behavior_mode":"factory"}
8e3f36ed72c443e0a699d78ac707e330 ↳ 1d74120d052a4c9bb8e2f013b800997d tool_call applied_plugins 0 ms {"tui":"codex","count":0,"applied":[],"env_keys":[],"extra_args":[],"applied_count":0,"skipped_count":0}
1d7bf99b668b442e92b0b3ab514c9bef ↳ 1d74120d052a4c9bb8e2f013b800997d container codex:launch 1079 ms {"image":"codingagentbench/codex:v0.140.0","argv":["exec","--dangerously-bypass-approvals-and-sandbox","--skip-git-repo-check","--ephemeral","--ignore-user-config","-m","z-ai/glm-5.1","-c","model_providers.nim={ name = 'nim', base_url = 'http://172.17.0.1:31415/v1', wire_api = 'responses', env_key = 'OPENAI_API_KEY' }","-c","model_provider=\"nim\"","--disable","multi_agent","--disable","browser_use","--disable","browser_use_external","--disable","computer_use","--disable","apps","Missing explicit lifetime annotation prevents a longest-string helper from compiling"],"timeout_s":600,"exit_code":1,"duration_s":1.062785761023406,"timed_out":false}
1d74120d052a4c9bb8e2f013b800997d adapter_run codex:polyglot/rust-lifetime-fix 1079 ms {"timeout_s":600,"plugin_stack":[],"exit_code":1}
ec5beda780b941dd8fe6f7b3ae0dea3a cleanup cleanup:codex 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: codex × z-ai/glm-5.1 59%](https://codingagentbench.com/badge/codex/z-ai/glm-5.1/polyglot/rust-lifetime-fix.svg)](https://codingagentbench.com/cell/codex/z-ai/glm-5.1/polyglot/rust-lifetime-fix)
HTML / iframe
<a href="https://codingagentbench.com/cell/codex/z-ai/glm-5.1/polyglot/rust-lifetime-fix"><img src="https://codingagentbench.com/badge/codex/z-ai/glm-5.1/polyglot/rust-lifetime-fix.svg" alt="CodingAgentBench: codex × z-ai/glm-5.1 59%" /></a>
CodingAgentBench: codex × z-ai/glm-5.1 59%