CAPY.BENCH
GitHub

omp / deepseek-v4.1-flash

Manual Note vs. Session Log Audit: Exact 28m3s Wall-Clock Match, Canonical netra/deepseek/deepseek-v4.1-flash Slug, 9 Agent Commits, 58/58 Tests & 0-Issue Credo --strict Read field notes ↓

Outcome
7/7 slices
All 7 specification slices passed · 58/58 tests
Time Elapsed
28m
Range 14m–1h 51m (28 runs)
Estimated Cost
$1.17
2026 Netra Standard API (83.3% cache off)
Test suite & secondary run metricsTests, context, calls & commits

Served 99.03% of 18.39M prompt tokens from prefix cache — saving $4.55 (79.5%) vs. $5.73 uncached; concentrated peak effort in S7 (Handle Ctrl-C: 22.2% of run cost ($0.26, 26 calls)); recovered from 13 tool errors across 162 executions.

Test Suite
58/58
100% passed (60.6s)
Total Tokens
18.57M
99.03% cache hit · 178.9k uncached · 172.7k out
LLM & Tool Calls
163 turns
162 tool executions (13 errors)
Peak Context
224.9k peak
6,475 → 224,887 prompt tokens
Git Commits
9
Recorded in commit log below
Verification Verdict:

Finished in 60.6 seconds (0.1s async, 60.5s sync) — 58 passed (Credo --strict: 23 source files, 208 mods/funs, 0 issues in 0.07s; mix format --check-formatted clean)

Field Notes / 4 Observations

  1. Manual Note vs. Session Log Audit: Exact 28m3s Wall-Clock Match, Canonical netra/deepseek/deepseek-v4.1-flash Slug, 9 Agent Commits, 58/58 Tests & 0-Issue Credo --strict(3 points)Exact Wall-Clock Alignment (28m3s Note vs. 28m 3.4s JSONL) · Canonical Model Slug (deepseek/deepseek-v4.1-flash on netra.sh) · 9 Agent Commits, 58/58 Tests & 0-Issue mix credo --strict
    • Exact Wall-Clock Alignment (28m3s Note vs. 28m 3.4s JSONL) Following the pre-run init commit (a0a8474 at 19:47:15 WIB, 2m 25s before session launch), session 01a2275a-9e89-729f-96ec-f41e92034a9d opened at 2026-11-29T12:49:39.977Z (19:49:39.977 WIB), completed final assistant Turn 163 at 20:17:43.271 WIB (28m 3.3s), and recorded session_exit at 20:17:43.362 WIB for an exact active duration of 28m 3.38s (1,683.38s / 28m).
    • Canonical Model Slug (deepseek/deepseek-v4.1-flash on netra.sh) The manual note shortened the label to omp netra/deepseek-flash high, whereas model_change (Line 3) and all 163 assistant turns logged omp v19.3.0 calling netra/deepseek/deepseek-v4.1-flash (api: "openai-completions", thinkingLevel: "high").
    • 9 Agent Commits, 58/58 Tests & 0-Issue mix credo --strict Starting from a0a8474 (init), the agent authored 9 atomic commits (846688d S1 through 6365836 S7, plus d561a58 recording per-slice verification commands in PLAN.md and a5fe288 hardening client IP verification and integration stability) totaling 1,016 production LoC across 9 modules in lib/capy_bench/*.ex + cb and 1,439 test LoC across 14 files. Manual mix test passed 58/58 in 60.6s (0.1s async, 60.5s sync; agent bg_3 ran 61.4s at L497), and mix credo --strict reported 0 issues across 23 source files (208 mods/funs in 0.07s).
  2. 7/7 Full Pass with Clean Post-Boot PTY Ctrl-C (Exit 130) & Live HTTP/HTTPS, Plus Documented 150 ms BEAM Boot-Window SIGUSR2 Nuance(3 points)Cold-Boot SIGUSR2 Window Nuance (50 ms / 150 ms) · Live HTTP & HTTPS Verification (Fresh Connection Per Request)
    • All 4 Post-Boot Foreground PTY Ctrl-C Holdout Probes Passed (rc=130, Empty stderr, Clean 6-Line Summary): Every post-boot interactive interrupt probe exited 130 with started == responses + failures: 1.0s pacing (1.02s, 7/7 HTTP 200, Elapsed: 0.68 s), 800 ms slow server (0.4s Ctrl-C, 1.17s total, 1/1 HTTP 200, p50 817 ms), 3,000 ms stalled server (0.5s Ctrl-C, 2.36s total, 0 responses / 1 transport failure at Elapsed: 2.00 s, Latency: n/a), and 1.0s live https://rizafahmi.com (2.65s, 0 responses / 1 transport failure).
    • Cold-Boot SIGUSR2 Window Nuance (50 ms / 150 ms) The ./cb wrapper traps SIGINT and forwards kill -USR2 "$pid" to priv/cb.escript (+Bi) without pre-ignoring USR2 during BEAM startup. A 150 ms boot-window Ctrl-C terminates the child before :erl_signal_server registers (User defined signal 2: 31, rc=159, no summary), and a 50 ms Ctrl-C arrives before the shell trap binds (rc=0, completes the full 5.00 s run).
    • Live HTTP & HTTPS Verification (Fresh Connection Per Request) ./cb http://rizafahmi.com completed 27/27 HTTP 301 (0 failures, p50 140 ms, p95 484 ms, Elapsed: 5.20 s, rc=0, empty stderr). ./cb https://rizafahmi.com completed 4 HTTP 200 + 2 transport failures (6 started, p50 519 ms, p95 957 ms, Elapsed: 7.12 s, rc=0, empty stderr) over fresh :ssl handshakes per request (PLAN.md documents no connection reuse path).
  3. Sequential Single-Tool Execution (162 Tool Calls, 0 Multi-Tool Turns, 13 Audited Bash Errors & 3 Auto-Backgrounded Full Test Runs)(3 points)100% Single-Tool Turns (0 Multi-Tool Batches, 0.99 Tools/Turn) · Breakdown of All 13 `isError · 48.6% Inference vs. 51.4% Tool Wall-Clock Split & 3 Auto-Backgrounded Test Suites
    • 100% Single-Tool Turns (0 Multi-Tool Batches, 0.99 Tools/Turn) Across 163 assistant turns (162 toolUse, 1 final stop), the agent issued 139 bash, 21 write, and 2 edit calls (0 read calls; 48 inline python3 patch/probe scripts) with 0 parallel tool batches and 0 manage_task polls.
    • Breakdown of All 13 `isError: true Bash Calls (0 write/edit Errors): 4 disposable OTP 28 public_key / cert-generation recon scripts in /tmp (L89 grep exit, L92 charlist warning, L95 unused key / crash, L188 ArgumentError in /tmp/cert_type.exs); 6 single-turn compile/type/format catches (L131 undefined TestCLI.run/1, L173 undefined uri in args.ex:86, L176 serve/5 type warning, L203 unexpected :rescue in case in http.ex:88, L260 read_chunk_size/5 compile error, L398 undefined request in runner.ex:118); 2 S3 ExUnit test failures (L239 GenServer.stop dead process in redirect test, L242 TLS test assertion); and 1 mix credo --strict catch (L245, read_chunked nesting depth 3 > max 2 in http.ex:281`).
    • 48.6% Inference vs. 51.4% Tool Wall-Clock Split & 3 Auto-Backgrounded Test Suites Aggregate inference totaled 818.22s (48.6% of 1,683.4s, averaging 5.02s/turn and 2.55s TTFT across 163 turns), leaving 865.2s (51.4%) in tool execution—including 3 auto-backgrounded mix test runs (bg_1 63.8s at L459, bg_2 64.6s at L478, bg_3 63.1s at L497) without explicit sleep polling waste.
  4. Netra Standard $0.30/$0.05/$1.20 Billing ($1.17, 99.03% Cache Hit, 0 Evictions) Cuts Cost 63% vs. Netra :uncensored ($3.16) at Identical 28m Wall-Clock(3 points)Stable Prefix Cache (99.03% Hit Rate, 0 Post-Turn-1 Evictions) · Netra Standard vs. DeepSeek Direct Pricing Counterfactual · Controlled omp v19.3.0 / Netra Ablation (deepseek-v4.1-flash vs. deepseek-v4.1-flash:uncensored)
    • Stable Prefix Cache (99.03% Hit Rate, 0 Post-Turn-1 Evictions) Prompt context grew monotonically from 6,475 tokens at Turn 1 (L9) to 224,887 tokens at Turn 163 (L498, 112,847 avg) with 162/162 consecutive post-Turn-1 cache hits (0 evictions, 0 compactions) and 114,354 reasoning tokens (66.2% of 172,739 output tokens).
    • Netra Standard vs. DeepSeek Direct Pricing Counterfactual Every assistant turn billed Netra's standard $0.30 / $0.05 / $1.20 per 1M rates (178,864 uncached input = $0.0537, 18,215,168 cacheRead = $0.9108 [77.7% of spend], 172,739 output = $0.2073, total $1.1717 / $1.17). At DeepSeek Direct's 98% cache discount ($0.30 / $0.006 / $1.20 Peak), the identical token stream would cost $0.37 (3.2× less), or $0.19 Off-Peak (6.2× less).
    • Controlled omp v19.3.0 / Netra Ablation (deepseek-v4.1-flash vs. deepseek-v4.1-flash:uncensored) Both cleared 7/7 in 28m (28m 3.4s vs 28m 8.6s) on the identical harness and provider. Standard deepseek-v4.1-flash cut billed cost by 63% ($1.17 vs $3.16) via Netra's $0.05/1M cache reads despite 66% more turns (163 vs 98) and 62% more tokens (18.57M vs 11.47M), adding 0-issue mix credo --strict and 58/58 tests (vs 51/51), whereas :uncensored ran faster per turn (3.87s vs 5.02s), achieved 41/41 live HTTPS keep-alive throughput, and eliminated the 150 ms boot-window Ctrl-C race via SIGCONT.
Slice / Phase Breakdown9 phases · 163 LLM calls · $1.17 · peak in S7

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 signal/TLS reconnaissance
1–107(107 steps)3318,821
$0.08 (7%)
S1 PassS1: cb escript, +Bi wrapper & CLI help (846688d)
108–149(42 steps)144,790
$0.05 (4%)
S2 PassS2: CLI argument & URL validation before requesting (99eb2a5)
150–185(36 steps)126,783
$0.06 (5%)
S3 PassS3: Bounded streaming :gen_tcp/:ssl HTTP client & TLS verify (972e815)
186–266(81 steps)2721,226
$0.19 (16%)
S4 PassS4: Paced 5s single-flight loop & boundary tests (983f2de)
267–296(30 steps)1011,140
$0.09 (8%)
S5 PassS5: Status counts, transport failures & exit codes (7af5f5f)
297–314(18 steps)62,304
$0.05 (4%)
S6 PassS6: Elapsed time & completed-response p50/p95 percentiles (94359c6)
315–329(15 steps)52,867
$0.04 (3%)
S7 PassS7: Foreground PTY Ctrl-C partial summary & exit 130 (6365836)
330–407(78 steps)2623,419
$0.26 (22%)
PostRelease verification: PLAN audit, IP-SAN hardening & stability (d561a58, a5fe288)
408–499(92 steps)3023,004
$0.35 (30%)Peak
Total (9 phases)499 steps163114,354$1.17
Tokens, Cache & Cost18.57M tokens · 99.03% cache hit · 2026 Netra Standard API (83.3% cache off)

Tokens, Cache & Cost / 2026 Netra Standard API (83.3% cache off)

Total Tokens
18.57M(178.9k uncached · 172.7k out)
Cache Hit Rate
99.03%(18.22M / 18.39M prompt)
Thinking Tokens
114.4k(of 172.7k output)
Peak Context
224.9k peak(6,475 → 224,887 prompt tokens)
Cache Savings
-$4.55 (79.5%)(vs $5.73 uncached)
Unit Economics
$0.17 / slice(2.65M tok/slice)
Tool Precision
92% ok(13 err / 162 calls)
Token volume and estimated cost breakdown
ComponentTokensRateEstimated Cost
Uncached Input178,864$0.30 / 1M$0.053659
Cached Input (cacheRead)18,215,168$0.05 / 1M (83.3% off)$0.910758
Output (incl. 114,354 reasoning)172,739$1.20 / 1M$0.207287
Total18,566,771—$1.17 ($1.171704)
Calls & Tool Breakdown163 LLM turns · 162 tool executions · 13 errors

Calls & Tool Breakdown / Tool Loop

LLM Inference Turns
163completed agent_response steps
Tool Executions
162149 succeeded· 13 non-zero / error
  • tool/bash
    139(86% · 126 ok, 13 err)
  • tool/write
    21(13% · 21 ok)
  • tool/edit
    2(1% · 2 ok)
Command & Interface UsedCLI · Single-prompt workflow

Command / Interface Used / CLI

omp -p --mode json --model netra/deepseek/deepseek-v4.1-flash --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: 19:49:39–20:17:43 WIB (28m 3.4s / 1,683.4s wall-clock in JSONL; 28m3s in manual note, 19:47:15 git init) • Session 01a2275a-9e89-729f-96ec-f41e92034a9d (netra / deepseek/deepseek-v4.1-flash, thinking: high, omp v19.3.0, 163 LLM turns, 0 compactions)

Git Commits10 checkpoints · Riza Fahmi

Git Commits / 10 Checkpoints

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

  1. a5fe288Harden client IP verification and stabilize integration checks
    -14 minutes
  2. d561a58Record verification commands for each completed slice
    -20 minutes
  3. 6365836S7S7: handle terminal Ctrl-C with partial summary and exit 130
    -21 minutes
  4. 94359c6S6S6: report elapsed and completed-response percentiles
    -26 minutes
  5. 7af5f5fS5S5: report status counts, failures, and exit codes
    -27 minutes
  6. 983f2deS4S4: add paced single-flight five-second loop
    -29 minutes
  7. 972e815S3S3: add bounded streaming HTTP client
    -32 minutes
  8. 99eb2a5S2S2: validate CLI arguments before any request
    -36 minutes
  9. 846688dS1S1: add cb escript and Ctrl-C wrapper
    -37 minutes
  10. a0a8474init
    -43 minutes