CAPY.BENCH
GitHub

omp / deepseek-v4.1-flash-1017-uncensored

Passed all 75/75 self-authored ExUnit tests yet missed 1 specification slice in post-run live verification — while S1 (Launch the CLI) absorbed 27.2% of total budget ($0.77, 198 calls). Read failure diagnosis ↓

Outcome
6/7 slices
Agent marked 7/7 [x] (S7 failed audit) · 75/75 ExUnit tests passed
Time Elapsed
1h 16m
Range 14m–1h 51m (28 runs)
Estimated Cost
$2.83
2026 TeraRouter API (92.3% cache off)
Verification Divergence:

Finished in 44.0 seconds (44.0s async, 0.00s sync) — 75 passed (mix check [format --check-formatted + compile --warnings-as-errors + mix test] passed; Credo not configured) (Agent checked off 7/7 in PLAN.md and passed 75/75 ExUnit tests; post-run holdout audit rejected S7.)

Test suite & secondary run metricsTests, context, calls & commits
Test Suite
75/75
100% passed (44s)
Total Tokens
45.27M
99.15% cache hit · 381.3k uncached · 252.9k out
LLM & Tool Calls
427 turns
434 tool executions (27 errors)
Peak Context
213.5k peak
6,710 → 213,457 prompt tokens; 213,735 total
Git Commits
5
Recorded in commit log below

Field Notes / 4 Observations

  1. Manual Note vs. Session Log Audit: Exact 1h 15m 55.0s Wall-Clock, Canonical terarouter/deepseek-v4.1-flash-1017-uncensored Slug, 5 Agent Commits (Not 7) & Turn 427 HTTP 402 Wallet-Empty Abort(3 points)Exact Wall-Clock Alignment (1h15m55s Note vs. 1h 15m 55.02s JSONL) · Canonical Slug & Sudden Turn 427 402 Wallet empty Abort · 5 Agent Commits (Manual Note Wrote 7, Pasted 6), 75/75 All-Async Tests & No Credo
    • Exact Wall-Clock Alignment (1h15m55s Note vs. 1h 15m 55.02s JSONL) Following the pre-run init commit (c5ec125 at 13:06:16 WIB, 1m 50s before launch), session 01a225ea-f9bd-7117-ad74-d9787593fd92 opened at 2026-11-29T06:08:06.077Z (13:08:06.077 WIB) and exited at 2026-11-29T07:24:01.092Z (14:24:01.092 WIB) for 4,555.02s (76m), matching the manual note to the second.
    • Canonical Slug & Sudden Turn 427 402 Wallet empty Abort The workspace folder and manual note wrote terarouter/deepseek-flash:uncencored (with a typo), whereas model_change (Line 3) and all 427 assistant turns logged omp v19.3.0 calling terarouter / deepseek-v4.1-flash-1017-uncensored (thinkingLevel: "high"). Eleven seconds after committing S7 (7145727 at 14:23:50 WIB), Turn 427 (L1308) terminated mid-release-verification with stopReason: "error" (402 Wallet empty — top up in the portal to continue), leaving erl_crash.dump (3.45 MB from 14:20 WIB) in the workspace and preventing final handoff.
    • 5 Agent Commits (Manual Note Wrote 7, Pasted 6), 75/75 All-Async Tests & No Credo Starting from pre-run c5ec125 (init), the agent authored 5 commits (783 production LoC across 8 modules in lib/capy_bench/*.ex + cb; 1,334 test LoC across 14 files in test/), bundling S4–S6 into 8103af1. Manual mix test passed 75/75 in 44.0s (44.0s async, 0.00s sync), and mix check (format --check-formatted + compile --warnings-as-errors + mix test) passed cleanly; Credo was not configured (deps: []).
  2. 6/7 Partial Pass: Post-Boot PTY Ctrl-C Passes 5/5 Scenarios, but SIGUSR2 Wrapper Fails the 50 ms & 150 ms BEAM Boot-Window Race (User defined signal 2: 31, No Summary)(3 points)BEAM Boot-Window Ctrl-C Race Fails S7 Holdout (Matching Manual Note's [ ] S7) · Post-Boot PTY Ctrl-C Passed 5/5 Scenarios · High-Throughput Live HTTPS & HTTP Verification (With HTTP/1.0 Reuse Caveat)
    • BEAM Boot-Window Ctrl-C Race Fails S7 Holdout (Matching Manual Note's [ ] S7) Although PLAN.md checked off S1–S7 and ./cb traps SIGINT to forward kill -USR2 "$child", the wrapper does not mask SIGUSR2 during BEAM startup. Empirical foreground PTY probes confirmed two boot-window failures: at 50 ms, SIGINT arrived before cb set up its child/trap so ./cb ran the full 5.00s benchmark and exited 0 (6.22s); at 150 ms, SIGUSR2 killed cb.escript before :erl_signal_server registered (cb: line 12: User defined signal 2: 31, rc=130, 0.17s, no partial summary).
    • Post-Boot PTY Ctrl-C Passed 5/5 Scenarios Once BEAM finished booting, foreground PTY Ctrl-C cleanly exited 130 with a single partial summary and started == responses + failures across 1.0s pacing (1.03s, 8 started), 800 ms slow server (1.12s, 1/1 HTTP 200), 1,500 ms slow server (1.81s, 1/1 HTTP 200), 3,500 ms stalled server (2.30s, 0 responses / 1 transport failure at 2.00s), and 1.0s live https://rizafahmi.com (1.09s, 3/3 HTTP 200).
    • High-Throughput Live HTTPS & HTTP Verification (With HTTP/1.0 Reuse Caveat) Against live HTTP/1.1 targets, ./cb https://rizafahmi.com completed 41/41 HTTP 200 (0 failures, p50 67 ms, p95 148 ms, rc=0) and ./cb http://rizafahmi.com completed 43/43 HTTP 301 (0 failures, p50 43 ms, p95 129 ms, rc=0). Against Python's default HTTP/1.0 test server (which closes without Connection: close), every second keep-alive reuse failed (25/50 responses, 25 transport failures).
  3. 30-Minute S1 Signal-Probing Marathon: 198 LLM Turns (46.4%), 94.1k Reasoning Tokens (74.9%) & 23/27 Tool Errors Spent Probing /tmp/sigtest, /tmp/ep & tmux(3 points)S1 Dominated Turn Count & Reasoning Budget · Breakdown of All 27 `isError · Minimal Multi-Tool Batching & 5 Async Background Jobs
    • S1 Dominated Turn Count & Reasoning Budget: After only 10 reconnaissance turns (L1–40), the agent spent 198 turns (L41–649, 35.6m from 13:09:48 to 13:45:21 WIB, 94,076 reasoning tokens = 74.9% of session reasoning) building disposable Elixir escripts, tmux sessions, and Python PTY harnesses in /tmp/sigtest and /tmp/ep to prove erts consumes SIGINT before settling on the sh + SIGUSR2 wrapper (cbc470c).
    • Breakdown of All 27 `isError: true Bash Calls (0 Errors on write/edit/read): 23/27 (85.2%) occurred inside S1's disposable signal probes (L100–L602: tmux no-server / missing log reads, escript compile/syntax retries, pty.py shadowing stdlib pty, and probe6.py ChildProcessError). Across S2–S7, only 4 bash errors occurred: 1 rg regex syntax error (L804), 2 missing end mix format catches (L921 in lib/capy_bench/client.ex:328, L1256 in test/capy_bench/interrupt_test.exs:129), and 1 unused parent compile --warnings-as-errors catch (L1103 in test/support/test_server.ex:145`).
    • Minimal Multi-Tool Batching & 5 Async Background Jobs Tool calls were 91.2% bash (396/434), 27 write, 6 read, and 5 edit (1.02 tools/turn, 8 multi-tool turns), with 5 omp async background jobs (bg_1–bg_5, including one sleep 60 wait at L302) during S1 signal probing.
  4. TeraRouter $0.65/$0.05/$1.40 Pricing ($2.83 Across 45.27M Tokens), 48.3% Inference Split (5.15s/Turn, 3.67s TTFT) & Netra vs. TeraRouter Provider Ablation(3 points)99.15% Cache Hit Rate Kept 45.27M Tokens Under $3 · 48.3% Inference vs. 51.7% Tool Wall-Clock Split · Controlled omp Provider Ablation (TeraRouter vs. Netra)
    • 99.15% Cache Hit Rate Kept 45.27M Tokens Under $3 Context grew monotonically from 6,710 to 213,457 prompt tokens (0 compactions; only 1 post-Turn-1 cache miss on Turn 3 at L17 before Turn 427's 0-token 402 error). At TeraRouter's $0.65 / $0.05 / $1.40 per 1M rates (92.3% cache discount), 44.63M cached tokens billed $2.2317 (78.8% of spend), 381.3k uncached input billed $0.2478, and 252.9k output (incl. 125,573 reasoning, 49.7%) billed $0.3540 for $2.8335 ($2.83) — saving 90.4% versus $29.61 uncached.
    • 48.3% Inference vs. 51.7% Tool Wall-Clock Split Aggregate inference across 427 turns totaled 2,200.15s (36.7m, 48.3% of 4,555.0s wall-clock), averaging 5.15s/turn (3.67s avg TTFT across 426 non-error turns; peaking at 39.52s / 8,552 output / 8,457 reasoning tokens on Turn 3), leaving 2,354.9s (51.7%) in bash probes and mix test runs.
    • Controlled omp Provider Ablation (TeraRouter vs. Netra) On the exact same omp v19.3.0 harness and uncensored DeepSeek V4.1 Flash family, Netra finished 2.7× faster (28m vs 76m) with 2.7× lower TTFT (1.38s vs 3.67s), 4.4× fewer turns (98 vs 427), 3.9× fewer tokens (11.47M vs 45.27M), and cleared 7/7 via SIGCONT, whereas TeraRouter fell into S1's 198-turn signal-probe rabbit hole, missed S7 on the 150 ms SIGUSR2 boot race (6/7), and hit 402 Wallet empty — yet still cost 10.4% less ($2.83 vs $3.16) because TeraRouter discounts cached reads by 92.3% ($0.05/1M) while Netra bills a flat $0.275/1M.
Slice / Phase Breakdown9 phases · 427 LLM calls · $2.83 · peak in S1

Slice / Phase Breakdown / 9 Phases

Step Range spans transcript events (LLM + tool + system turns) · LLM Calls count completed model inference turns

Per-stage slice breakdown of step ranges, LLM calls, thinking tokens, and cost
Slice / PhaseStep RangeLLM CallsThinking TokensEstimated Cost
PrepPreparation & OTP 28 :inets/URI reconnaissance
1–40(40 steps)1015,359
$0.04 (1%)
S1 PassS1: CLI launcher, SIGUSR2 wrapper & escript signal probes (cbc470c)
41–649(609 steps)19894,076
$0.77 (27%)Peak
S2 PassS2: Argument & URL validation before dispatch (b5e5bfb)
650–711(62 steps)202,587
$0.12 (4%)
S3 PassS3: Bounded :gen_tcp/:ssl GET, timeouts & verified TLS (77cea0d)
712–954(243 steps)816,724
$0.67 (24%)
S4 PassS4: Paced 5s loop, connection reuse & pacer tests (bundled in 8103af1)
955–1136(182 steps)606,489
$0.60 (21%)
S5 PassS5: Tracker outcome tallies & exit codes (bundled in 8103af1)
1137–1166(30 steps)100
$0.11 (4%)
S6 PassS6: Timing report, p50/p95 latencies & summary tests (8103af1)
1167–1226(60 steps)200
$0.22 (8%)
S7 MissS7: Foreground PTY Ctrl-C partial summary & exit 130 (7145727)
1227–1304(78 steps)26338
$0.29 (10%)
PostRelease verification (aborted by 402 Wallet empty)
1305–1309(5 steps)20
$0.01
Total (9 phases)1,309 steps427125,573$2.83
Tokens, Cache & Cost45.27M tokens · 99.15% cache hit · 2026 TeraRouter API (92.3% cache off)

Tokens, Cache & Cost / 2026 TeraRouter API (92.3% cache off)

Total Tokens
45.27M(381.3k uncached · 252.9k out)
Cache Hit Rate
99.15%(44.63M / 45.02M prompt)
Thinking Tokens
125.6k(of 252.9k output)
Peak Context
213.5k peak(6,710 → 213,457 prompt tokens; 213,735 total)
Cache Savings
-$26.78 (90.4%)(vs $29.61 uncached)
Unit Economics
$0.47 / slice(7.54M tok/slice)
Tool Precision
93.8% ok(27 err / 434 calls)
Token volume and estimated cost breakdown
ComponentTokensRateEstimated Cost
Uncached Input381,275$0.65 / 1M$0.247829
Cached Input (cacheRead)44,633,856$0.05 / 1M (92.3% off)$2.231693
Output (incl. 125,573 reasoning)252,850$1.40 / 1M$0.353990
Total45,267,981—$2.83 ($2.833512)
Calls & Tool Breakdown427 LLM turns · 434 tool executions · 27 errors

Calls & Tool Breakdown / Tool Loop

LLM Inference Turns
427completed agent_response steps
Tool Executions
434407 succeeded· 27 non-zero / error
  • tool/bash
    396(91% · 369 ok, 27 err)
  • tool/write
    27(6% · 27 ok)
  • tool/read
    6(1% · 6 ok)
  • tool/edit
    5(1% · 5 ok)
Command & Interface UsedCLI · Single-prompt workflow

Command / Interface Used / CLI

omp -p --mode json --model terarouter/deepseek-v4.1-flash-1017-uncensored --thinking high --tools read,bash,edit,write --no-extensions --no-skills --no-rules --no-lsp --no-pty --no-title --no-prewalk --auto-approve --no-context-files --config <bench-config.yml> --session-dir ./records @PROMPT.md

Run window: 13:08:06–14:24:01 WIB (1h 15m 55.0s / 4,555.0s wall-clock in JSONL; 1h15m55s in manual note, 13:06:16 git init) • Session 01a225ea-f9bd-7117-ad74-d9787593fd92 (terarouter / deepseek-v4.1-flash-1017-uncensored, thinking: high, omp v19.3.0, 427 LLM turns, 0 compactions; terminated at Turn 427 with HTTP 402 Wallet empty)

Git Commits6 checkpoints · Riza Fahmi

Git Commits / 6 Checkpoints

Author: Riza Fahmi · Timestamps relative to post-run capture

  1. 7145727S7 MissS7: handle Ctrl-C with a partial summary and exit 130
    -32 seconds
  2. 8103af1S4S4-S6: paced loop, outcome tallies, and timing report
    -5 minutes
  3. 77cea0dS3S3: bounded single GET with verified TLS and no retries
    -27 minutes
  4. b5e5bfbS2S2: validate CLI arguments before dispatch
    -36 minutes
  5. cbc470cS1S1: launch CLI with help flags and Ctrl-C wrapper
    -39 minutes
  6. c5ec125init
    -78 minutes