Skip to main content
CodingAgentBench

opencode × openai/gpt-oss-120b

polyglot
polyglot/python-two-sum

Per-axis scores

Pass
1.000
Tokens/correct
Wall
23.2s
Blast
0.000
Refusal
Integrity
1.000
Composite
0.949

Run identity

cell_id
free-20260527/opencode/openai/gpt-oss-120b/polyglot/python-two-sum
sweep_id
free-20260527
container_image
codingagentbench/opencode:v1.15.10
image_digest
sha256:e56bdb69fb83ea2f8c81c06257f190fd4b5e91077e83d5536f722ff1b9c70275
model_build_id
openai/gpt-oss-120b
exit_code
0

Timing

started_at
2026-06-16T01:00:00.979135Z
ended_at
2026-06-16T01:00:24.182306Z
duration
23.20 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":"","stderr_tail":"test_basic (test_two_sum.TestTwoSum.test_basic) ... ok\ntest_empty (test_two_sum.TestTwoSum.test_empty) ... ok\ntest_middle (test_two_sum.TestTwoSum.test_middle) ... ok\ntest_negative_numbers (test_two_sum.TestTwoSum.test_negative_numbers) ... ok\ntest_no_solution (test_two_sum.TestTwoSum.test_no_solution) ... ok\ntest_same_value_two_indices (test_two_sum.TestTwoSum.test_same_value_two_indices) ... ok\ntest_target_double_unique_element (test_two_sum.TestTwoSum.test_target_double_unique_element) ... ok\ntest_target_double_with_other_pair (test_two_sum.TestTwoSum.test_target_double_with_other_pair) ... ok\n\n----------------------------------------------------------------------\nRan 8 tests in 0.000s\n\nOK\n","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":23203.171000000002,"container_active_ms":23184.731,"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":["src/two_sum.py"],"unexpected_changes":[],"expected_changes":["src/two_sum.py"],"total_changes":1,"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/python-two-sum"}
composite composite, weights, components, note {"composite":0.9486076882304567,"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,"tokens_per_correct_task":0,"wall_clock_ms":23203.171000000002,"expected_refusal":false,"refusal_produced":false,"cost_efficiency":1,"latency_efficiency":0.6573845882030439,"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 / 23.20 s
span f9bafa319066470fa6353ab3269221e2task_setupprepare:polyglot/python-two-sum0 ms17 ms
workdir/home/andrew/.codingagentbench-scratch/codingagentbench-opencode-polyglot_python-two-sum-ehsj1z9u/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/opencode:v1.15.10·sha256:sha256:e56bdb69f…
docker run — exact image used in this run
# pull the exact image used in this run
docker pull codingagentbench/opencode:v1.15.10@sha256:sha256:e56bdb69fb83ea2f8c81c06257f190fd4b5e91077e83d5536f722ff1b9c70275

docker run --rm \
  -e CAB_ENDPOINT="$YOUR_ENDPOINT" \
  -e CAB_KEY="$YOUR_KEY" \
  codingagentbench/opencode:v1.15.10@sha256:sha256:e56bdb69fb83ea2f8c81c06257f190fd4b5e91077e83d5536f722ff1b9c70275 \
  run-cell \
    --tui opencode \
    --model openai/gpt-oss-120b \
    --task polyglot/python-two-sum

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.

opencode — BYO endpoint wiring
# Write .opencode/config.json in the task workdir:
# {
#   "providers": {
#     "codingagentbench": {
#       "type": "openai",
#       "options": {
#         "baseURL": "$YOUR_ENDPOINT",
#         "apiKey": "$YOUR_KEY"
#       },
#       "models": [{ "id": "$YOUR_MODEL_ID", "name": "$YOUR_MODEL_ID" }]
#     }
#   }
# }

opencode run \
  --format json \
  --dangerously-skip-permissions \
  -m codingagentbench/$YOUR_MODEL_ID

# 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 opencode \
  --model openai/gpt-oss-120b \
  --endpoint "$YOUR_ENDPOINT" \
  --key "$YOUR_KEY" \
  --task polyglot/python-two-sum
# 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
f9bafa319066470fa6353ab3269221e2 task_setup prepare:polyglot/python-two-sum 17 ms {"workdir":"/home/andrew/.codingagentbench-scratch/codingagentbench-opencode-polyglot_python-two-sum-ehsj1z9u/workdir","task_category":"polyglot","plugin_stack":[],"behavior_mode":"factory"}
11101accc357486bbbfc95f39c01b60d ↳ b845a45b050342e9ab98427410e48163 tool_call applied_plugins 0 ms {"tui":"opencode","count":0,"applied":[],"env_keys":[],"extra_args":[],"applied_count":0,"skipped_count":0}
0ad17ebeeb7d492c972f6ff279ff67ab ↳ b845a45b050342e9ab98427410e48163 container opencode-run:polyglot/python-two-sum 23185 ms {"image":"codingagentbench/opencode:v1.15.10","model":"openai/gpt-oss-120b","base_url":"http://172.17.0.1:31415/v1","exit_code":0,"duration_s":23.17,"timed_out":false,"image_digest":"sha256:e56bdb69fb83ea2f8c81c06257f190fd4b5e91077e83d5536f722ff1b9c70275"}
b845a45b050342e9ab98427410e48163 adapter_run opencode:polyglot/python-two-sum 23186 ms {"timeout_s":600,"plugin_stack":[],"exit_code":0}
0812f1b2c14942a7a836d0e8982394a5 cleanup cleanup:opencode 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: opencode × openai/gpt-oss-120b 95%](https://codingagentbench.com/badge/opencode/openai/gpt-oss-120b/polyglot/python-two-sum.svg)](https://codingagentbench.com/cell/opencode/openai/gpt-oss-120b/polyglot/python-two-sum)
HTML / iframe
<a href="https://codingagentbench.com/cell/opencode/openai/gpt-oss-120b/polyglot/python-two-sum"><img src="https://codingagentbench.com/badge/opencode/openai/gpt-oss-120b/polyglot/python-two-sum.svg" alt="CodingAgentBench: opencode × openai/gpt-oss-120b 95%" /></a>
CodingAgentBench: opencode × openai/gpt-oss-120b 95%