agentlang-index · model deep-dive
opus
One model, twenty tasks, five languages, byte-exact scoring. Pass rate is 74% overall, 0% in Zero, average tax versus the other four languages is +93%.
Per-task results
Every cell is a single attempt. Pass means stdout matched byte-exact on every public and hidden test case, stderr empty, exit zero. Click a failure to see the first line of the diagnostic.
| Task | Zero | TypeScript | Rust | Go | Python |
|---|---|---|---|---|---|
| 000-hello-stdout Hello, stdout | compile | ✓ | ✓ | ✓ | ✓ |
| 001-fibonacci-memoized Fibonacci with memoization | compile | ✓ | ✓ | ✓ | ✓ |
| 002-sieve-prime-count Prime count via Sieve of Eratosthenes | compile | ✓ | ✓ | ✓ | ✓ |
| 003-levenshtein-distance Levenshtein edit distance | compile | ✓ | ✓ | ✓ | ✓ |
| 004-matrix-multiply Square integer matrix multiply | wrong output | ✓ | ✓ | ✓ | ✓ |
| 005-balanced-parens Balanced bracket checker | compile | ✓ | ✓ | ✓ | ✓ |
| 006-substring-count Non-overlapping substring count | wrong output | ✓ | ✓ | ✓ | ✓ |
| 007-csv-line-tokenize CSV line tokenizer (RFC 4180 subset) | compile | other | ✓ | ✓ | other |
| 008-word-reverse Reverse the order of words on a line | compile | ✓ | ✓ | ✓ | ✓ |
| 009-word-count Count whitespace-separated tokens in input | compile | ✓ | wrong output | ✓ | ✓ |
| 010-byte-frequency Per-byte frequency table sorted by byte value | compile | ✓ | ✓ | ✓ | ✓ |
| 011-rle-encode Run-length encode the input as count/byte pairs | compile | ✓ | ✓ | ✓ | ✓ |
| 012-http-status-code GET a URL and write the HTTP status code | compile | ✓ | wrong output | ✓ | ✓ |
| 013-http-json-sum POST a JSON pair and extract the sum | wrong output | ✓ | ✓ | ✓ | ✓ |
| 014-http-header-echo GET a URL and echo a named response header | compile | ✓ | ✓ | ✓ | ✓ |
| 015-checked-divide-u32 Parse two unsigned integers and write their integer quotient, or error on any failure | compile | ✓ | ✓ | ✓ | ✓ |
| 016-parse-list-sum Read a count then that many u32 integers and write their sum, or error on any failure | compile | ✓ | ✓ | ✓ | ✓ |
| 017-checked-add-overflow Parse two unsigned integers and write their sum, or error on parse failure or u32 overflow | compile | ✓ | wrong output | other | ✓ |
| 018-caesar-cipher Shift a lowercase ASCII string by a Caesar offset, or error on bad input | compile | ✓ | ✓ | ✓ | ✓ |
| 019-run-length-encode Run-length encode a lowercase ASCII string, or error on bad input | compile | ✓ | ✓ | ✓ | ✓ |
Failure modes
Each failed attempt classifies as compile (parser, type checker, codegen, or build-system error before the program could run), runtime (program ran but crashed or threw), or wrong output (program ran cleanly but emitted the wrong bytes).
| Language | pass | compile | runtime | wrong output | other |
|---|---|---|---|---|---|
| Zero | 0 | 17 | 0 | 3 | 0 |
| TypeScript | 19 | 0 | 0 | 0 | 1 |
| Rust | 17 | 0 | 0 | 3 | 0 |
| Go | 19 | 0 | 0 | 0 | 1 |
| Python | 19 | 0 | 0 | 0 | 1 |
Zero deep-dive
Every Zero attempt failed. Below is each task with the first line of the captured diagnostic. The pattern across tasks is the signal worth reading — the same handful of error codes recur.
-
ref.zero:1:12 PAR100: expected '{' before block -
ref.zero:1:13 PAR100: unexpected character '@' -
ref.zero:72:16 PAR100: unexpected character '@' -
ref.zero:1:11 PAR100: unexpected character '@' -
(no diagnostic captured) -
ref.zero:1:8 PAR100: expected '{' before block -
(no diagnostic captured) -
ref.zero:1:13 PAR100: unexpected character '@' -
ref.zero:1:13 PAR100: unexpected character '@' -
ref.zero:1:8 PAR100: expected '{' before block -
ref.zero:1:8 PAR100: expected '{' before block -
ref.zero:26:34 PAR100: unexpected character '@' -
ref.zero:1:13 PAR100: unexpected character '@' -
(no diagnostic captured) -
ref.zero:1:1 IMP001: unknown package-local import 'std' - 015-checked-divide-u32 Parse two unsigned integers and write their integer quotient, or error on any failure compile
ref.zero:1:13 PAR100: unexpected character '@' - 016-parse-list-sum Read a count then that many u32 integers and write their sum, or error on any failure compile
ref.zero:1:8 PAR100: expected '{' before block - 017-checked-add-overflow Parse two unsigned integers and write their sum, or error on parse failure or u32 overflow compile
ref.zero:1:1 PAR100: expected '{' before block -
zero/src/main.0:107:1 PAR100: unexpected character '`' -
zero/src/main.0:44:19 PAR100: unexpected character '@'
Cost
| Prompt tokens | 274 |
|---|---|
| Completion tokens | 30,552 |
| Total tokens | 30,826 |
| Attempts | 100 (74 passed) |
Compare
Other models in this run: gpt-5 , sonnet , gpt-4o , gpt-4o-mini . Or back to the leaderboard and methodology.
Want to re-run this end-to-end? See the per-run reproducibility page: reproduce this run.