claude-sonnet-5-5 · Basis: benchmark_counterfactual · Ref e3c0b656 · Corpus d72c1da270d2caveman_retrieve Recovery Calls (lower is better)| Category | Caveman Pass | Tokens (Direct → Caveman) | Token Cut | USD Cost (Direct → Caveman) | Recoveries |
|---|---|---|---|---|---|
| code_comprehension | 4/4 | 267,969 → 195,966 | 26.9% | $0.2110 → $0.1365 (35.3%) | 0 |
| executable_edit | 2/2 | 152,852 → 129,034 | 15.6% | $0.0770 → $0.0458 (40.6%) | 0 |
| diff_review | 1/1 | 49,682 → 49,682 | 0.0% | $0.0360 → $0.0359 (0.2%) | 0 |
| ops_logs | 2/2 | 115,320 → 87,935 | 23.7% | $0.1107 → $0.0425 (61.6%) | 0 |
| structured | 2/2 | 101,466 → 89,921 | 11.4% | $0.0775 → $0.0494 (36.2%) | 0 |
| proxy_cache_safety | 2/2 | 143,769 → 129,649 | 9.8% | $0.0876 → $0.0523 (40.3%) | 0 |
| fail_closed_control | 1/1 | 43,993 → 43,998 | 0.0% | $0.0205 → $0.0210 (-2.5%) | 0 |
| adversarial | 1/1 | 53,001 → 43,098 | 18.7% | $0.0439 → $0.0202 (54.0%) | 0 |
| codemode_mcp | 1/1 | 56,122 → 42,739 | 23.8% | $0.0512 → $0.0182 (64.5%) | 0 |
| ui_frontend | 2/2 | 188,948 → 154,368 | 18.3% | $0.1069 → $0.0626 (41.4%) | 0 |
| long_horizon | 4/4 | 473,944 → 407,999 | 13.9% | $0.2668 → $0.1783 (33.2%) | 0 |
| sql_data | 1/1 | 99,774 → 64,742 | 35.1% | $0.0461 → $0.0243 (47.3%) | 0 |
| infra_devops | 2/2 | 158,356 → 132,701 | 16.2% | $0.0873 → $0.0555 (36.4%) | 0 |
| docs_search | 1/1 | 62,317 → 43,980 | 29.4% | $0.0678 → $0.0235 (65.4%) | 0 |
| systems_swe | 1/1 | 91,497 → 64,561 | 29.4% | $0.0339 → $0.0228 (32.7%) | 0 |
| legal_compliance | 1/1 | 51,504 → 92,731 | -80.0% | $0.0406 → $0.0373 (8.3%) | 1 |
| finance_analytics | 1/1 | 64,664 → 119,715 | -85.1% | $0.0734 → $0.0494 (32.8%) | 2 |
| secops_incident | 1/1 | 134,634 → 44,109 | 67.2% | $0.1272 → $0.0236 (81.5%) | 0 |
| product_support | 1/1 | 54,115 → 43,817 | 19.0% | $0.0472 → $0.0221 (53.1%) | 0 |
| data_science | 1/1 | 83,181 → 66,275 | 20.3% | $0.0490 → $0.0270 (44.9%) | 0 |
| Task | Category | direct | caveman | Token Cut | Cost Saved |
|---|---|---|---|---|---|
code_json_anomaly_madReal 660-line Go file (json.go, Read gutter): exact MAD z-score constant and zero-MAD fallback |
code_comprehension | PASS 52,203 · $0.0436 | PASS 49,160 · $0.0361 | 5.8% | 17.2% |
code_epoch_economicsReal proxy epoch.go (Read gutter): exact Anthropic cache write multiplier and break-even margin |
code_comprehension | PASS 51,414 · $0.0391 | PASS 47,565 · $0.0294 | 7.5% | 24.8% |
code_store_headline_refusalReal 1,258-line Go file (store.go, Read gutter): exact condition setting HeadlineCompressionRefused |
code_comprehension | PASS 113,459 · $0.0896 | PASS 55,986 · $0.0513 | 50.7% | 42.8% |
code_vocab_gap_deadlockZero-overlap symptom-to-code bug: user login hangs forever (double sync.Mutex Lock across 2 methods) |
code_comprehension | PASS 50,893 · $0.0387 | PASS 43,255 · $0.0198 | 15.0% | 48.9% |
edit_go_paginate_patchExecutable Go Edit patch: fix off-by-one panic in PaginateItems and pass real `go test` |
executable_edit | PASS 79,790 · $0.0429 | PASS 64,558 · $0.0228 | 19.1% | 46.8% |
edit_py_refund_patchExecutable Python Edit patch: deduct 500-cent processing fee (clamped >= 0) in issue_prorated_refund and pass `python3` tests |
executable_edit | PASS 73,062 · $0.0341 | PASS 64,476 · $0.0229 | 11.8% | 32.8% |
diff_webhook_security_review7-file git diff: locate HMAC constant-time & empty-signature auth bypass in pkg/payments/webhook.go |
diff_review | PASS 49,682 · $0.0360 | PASS 49,682 · $0.0359 | 0.0% | 0.2% |
log_logfmt_ndjson_incident500-line mixed logfmt + NDJSON incident log: pinpoint both upstream failures |
ops_logs | PASS 68,621 · $0.0828 | PASS 43,177 · $0.0191 | 37.1% | 76.9% |
test_pytest_and_tracebackPytest run (60 passed, 1 failed) + 35-frame Python traceback ending in KeyError |
ops_logs | PASS 46,699 · $0.0279 | PASS 44,758 · $0.0234 | 4.2% | 16.3% |
structured_json_and_htmlCommitted JSON + HTML fixtures: must keep valid JSON and HTML SLO-breaching service svc-27 |
structured | PASS 49,068 · $0.0348 | PASS 45,615 · $0.0262 | 7.0% | 24.7% |
structured_csv_and_yaml250-row CSV (fraud_hold outlier) + 4-env YAML config (production pool_max & ssl_mode) |
structured | PASS 52,398 · $0.0427 | PASS 44,306 · $0.0232 | 15.4% | 45.6% |
multiturn_cache_and_cross_session2-session + 2-turn PrefixCache test: 0 prefix busts on Turn 2 + 0 cross-session poisoning on Session 2 |
proxy_cache_safety | PASS 95,122 · $0.0545 | PASS 86,328 · $0.0325 | 9.2% | 40.4% |
parallel_tools_with_system_reminderLeading <system-reminder> + parallel Read(auth.go) and Read(billing.go) tool calls in one turn |
proxy_cache_safety | PASS 48,647 · $0.0332 | PASS 43,321 · $0.0199 | 10.9% | 40.1% |
failclosed_exhaustive_reviewFail-closed control (kept in aggregate): leading <system-reminder> + whole-file line-by-line function count |
fail_closed_control | PASS 43,993 · $0.0205 | PASS 43,998 · $0.0210 | 0.0% | -2.5% |
adversarial_keyword_stuffing300-line audit log with 50 query-echo INFO decoys + 1 genuine WARN clock skew anomaly |
adversarial | PASS 53,001 · $0.0439 | PASS 43,098 · $0.0202 | 18.7% | 54.0% |
codemode_oversized_logReal caveman-mcp codemode execution on 400-line CI log (dead single-line trim in v5.0.0 vs valid-JSON inner trim + CCR in hardened) |
codemode_mcp | PASS 56,122 · $0.0512 | PASS 42,739 · $0.0182 | 23.8% | 64.5% |
ui_react_tsx_design_polish460-line React+TSX+Tailwind dashboard: fix UpgradePlanModal ARIA/Escape handler + BillingSummaryBanner dark-mode contrast |
ui_frontend | PASS 110,077 · $0.0626 | PASS 87,891 · $0.0345 | 20.2% | 44.9% |
ui_css_tokens_and_html_a11yMulti-file CSS design tokens (450L) + checkout.html: fix sticky header z-index overlap over modal backdrop |
ui_frontend | PASS 78,871 · $0.0442 | PASS 66,477 · $0.0281 | 15.7% | 36.4% |
long_horizon_multifile_go_bugfixLong-horizon 5-file Go repo (~1,450L) with Read+Edit+Bash `go test`: diagnose & fix cross-tenant auth + discount rounding bugs across 2 files |
long_horizon | PASS 111,077 · $0.0552 | PASS 110,662 · $0.0551 | 0.4% | 0.2% |
long_horizon_multi_session_ts_refactor2-session 4-file Node/JS API refactor (~1,150L) with Read+Edit+Bash `node test.mjs`: sliding-window + burst allowance |
long_horizon | PASS 118,217 · $0.0587 | PASS 111,224 · $0.0470 | 5.9% | 19.9% |
sql_migration_rls_security_audit480-line Postgres migration: locate billing_payment_methods RLS policy missing WITH CHECK and patch it on disk |
sql_data | PASS 99,774 · $0.0461 | PASS 64,742 · $0.0243 | 35.1% | 47.3% |
k8s_infra_probe_debugMulti-file K8s incident (deployment.yaml + network_policy.yaml + kubectl_describe.txt): fix readinessProbe port mismatch |
infra_devops | PASS 78,954 · $0.0434 | PASS 66,432 · $0.0274 | 15.9% | 36.7% |
monorepo_rfc_and_grep_synthesis550-line Markdown RFC + 260-line ripgrep search output: synthesize rollout flag, p99 SLA, deprecation date, and legacy callsite |
docs_search | PASS 62,317 · $0.0678 | PASS 43,980 · $0.0235 | 29.4% | 65.4% |
long_context_ci_build_and_fix760-line multi-stage CI log (vite/eslint/tests/docker) + 380-line formatters.mjs: triage buried test failure, patch & verify via `node` |
long_horizon | PASS 169,940 · $0.1083 | PASS 91,890 · $0.0356 | 45.9% | 67.1% |
swe_rust_concurrency_fix420-line Rust CreditLedger service: fix integer underflow panic in drain_credits using checked_sub |
systems_swe | PASS 91,497 · $0.0339 | PASS 64,561 · $0.0228 | 29.4% | 32.7% |
swe_openapi_and_terraform_drift500-line OpenAPI 3.1 YAML + 300-line Terraform HCL: identify async export endpoint & remediate public S3 bucket on disk |
infra_devops | PASS 79,402 · $0.0439 | PASS 66,269 · $0.0281 | 16.5% | 36.1% |
swe_long_horizon_py_pricing_pkgLong-horizon 5-file Python pricing package (~1,200L) with Read+Edit+Bash `python3 test_pricing.py`: coupon precedence + post-discount tax rounding |
long_horizon | PASS 74,710 · $0.0445 | PASS 94,223 · $0.0406 | -26.1% | 8.8% |
work_legal_contract_msa_redline600-line Enterprise SaaS MSA + DPA: extract liability cap, uncapped carve-outs, auto-renewal notice, subprocessor window, and governing law |
legal_compliance | PASS 51,504 · $0.0406 | PASS 92,731 · $0.0373 +1rec | -80.0% | 8.3% |
work_finance_gl_and_board_memo300-row GL ledger CSV + Q3 Board Finance Memo: reconcile duplicate wire, miscoded dept, NDR %, and runway months |
finance_analytics | PASS 64,664 · $0.0734 | PASS 119,715 · $0.0494 +2rec | -85.1% | 32.8% |
work_secops_cloudtrail_postmortem350-line CloudTrail JSONL + 140-line Slack war-room transcript: reconstruct IAM attack chain and time-to-revoke |
secops_incident | PASS 134,634 · $0.1272 | PASS 44,109 · $0.0236 | 67.2% | 81.5% |
work_product_support_ticket_triage85-ticket Zendesk export + 35-initiative Q4 Roadmap: link Meridian Health P0 SSO blocker to DRI and target ship date |
product_support | PASS 54,115 · $0.0472 | PASS 43,817 · $0.0221 | 19.0% | 53.1% |
work_data_science_ab_stats_fix380-line Python A/B stats module + 200-row experiment_metrics.tsv: fix two-sided p-value & zero-SE guard + identify regressing segment |
data_science | PASS 83,181 · $0.0490 | PASS 66,275 · $0.0270 | 20.3% | 44.9% |