Skip to main content
CodingAgentBench

codex × openai/gpt-oss-120b

polyglot
polyglot/ts-type-narrowing

Per-axis scores

Pass
0.000
Tokens/correct
Wall
548.2s
Blast
0.750
Refusal
Integrity
1.000
Composite
0.430

Run identity

cell_id
expansion-20260616/codex/openai/gpt-oss-120b/polyglot/ts-type-narrowing
sweep_id
expansion-20260616
container_image
codingagentbench/codex:v0.140.0
image_digest
sha256:52116224fbc698acc448343890c4542efcc101a950ef8c8de1eca3e051f228bc
model_build_id
openai/gpt-oss-120b
exit_code
0

Timing

started_at
2026-06-17T01:16:00.095814Z
ended_at
2026-06-17T01:25:08.316432Z
duration
548.22 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":548220.6179999999,"container_active_ms":548207.8400000001,"model_call_ms":0}
blast_radius blast_radius, added, removed, modified, unexpected_changes, expected_changes, total_changes, extra_git_dir {"blast_radius":0.75,"added":["build/src/shape.js","build/tests/shape.test.js","src/shape.js"],"removed":[],"modified":["src/shape.ts"],"unexpected_changes":["build/src/shape.js","build/tests/shape.test.js","src/shape.js"],"expected_changes":["src/shape.ts"],"total_changes":4,"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.4296088827983693,"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.75,"tokens_per_correct_task":0,"wall_clock_ms":548220.6179999999,"expected_refusal":false,"refusal_produced":false,"cost_efficiency":1,"latency_efficiency":0.3640592186557952,"clean_blast":0.25,"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 / 548.22 s
span 80be639ef2514252b2067b954f2f9f6btask_setupprepare:polyglot/ts-type-narrowing0 ms13 ms
workdir/home/andrew/.codingagentbench-scratch/codingagentbench-codex-polyglot_ts-type-narrowing-mbkgavlt/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/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 openai/gpt-oss-120b \
    --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: openai/gpt-oss-120b
Zero-install preview — npx CLI (provisional, not for citation)
npx @codingagentbench/cli check
npx @codingagentbench/cli check \
  --tui codex \
  --model openai/gpt-oss-120b \
  --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
80be639ef2514252b2067b954f2f9f6b task_setup prepare:polyglot/ts-type-narrowing 13 ms {"workdir":"/home/andrew/.codingagentbench-scratch/codingagentbench-codex-polyglot_ts-type-narrowing-mbkgavlt/workdir","task_category":"polyglot","plugin_stack":[],"behavior_mode":"factory"}
7b26fe81c2b8464dbd5f472115d04517 ↳ cc8496cbfb0d4d9bb6e0ce5324907bb0 tool_call applied_plugins 0 ms {"tui":"codex","count":0,"applied":[],"env_keys":[],"extra_args":[],"applied_count":0,"skipped_count":0}
169964d01c4d45209a9140e29a3758df ↳ cc8496cbfb0d4d9bb6e0ce5324907bb0 container codex:launch 548208 ms {"image":"codingagentbench/codex:v0.140.0","argv":["exec","--dangerously-bypass-approvals-and-sandbox","--skip-git-repo-check","--ephemeral","--ignore-user-config","-m","openai/gpt-oss-120b","-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","Discriminated union not narrowed properly; switch falls through to default and returns wrong result"],"timeout_s":600,"exit_code":0,"duration_s":548.1883303319919,"timed_out":false}
cc8496cbfb0d4d9bb6e0ce5324907bb0 adapter_run codex:polyglot/ts-type-narrowing 548208 ms {"timeout_s":600,"plugin_stack":[],"exit_code":0}
07be4a22ba234c4aa8877cb827221d7b 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 × openai/gpt-oss-120b 43%](https://codingagentbench.com/badge/codex/openai/gpt-oss-120b/polyglot/ts-type-narrowing.svg)](https://codingagentbench.com/cell/codex/openai/gpt-oss-120b/polyglot/ts-type-narrowing)
HTML / iframe
<a href="https://codingagentbench.com/cell/codex/openai/gpt-oss-120b/polyglot/ts-type-narrowing"><img src="https://codingagentbench.com/badge/codex/openai/gpt-oss-120b/polyglot/ts-type-narrowing.svg" alt="CodingAgentBench: codex × openai/gpt-oss-120b 43%" /></a>
CodingAgentBench: codex × openai/gpt-oss-120b 43%