Skip to content

Collect resumable Claude benchmarks with upstream spend caps - #403

Merged
the-data-viking merged 3 commits into
mainfrom
bench/claude-credit-study-20261125
Nov 25, 2026
Merged

the-data-viking merged 3 commits into
mainfrom
bench/claude-credit-study-20261125

Conversation

@the-data-viking

@the-data-viking the-data-viking commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Claude credit experiments need response-level evidence and an enforceable upstream spending ledger: OpenRouter BYOK calls can report $0 gateway cost while consuming Claude credits. Add resumable collection, per-attempt reservations and billing evidence, frozen-input/runtime fingerprints, and offline complete-cell analysis with paired question-level intervals. Omitted OpenRouter temperature now stays omitted on the wire, preserving explicit zero.

Althing's native passthrough returns msg_* body IDs and gen-* response headers. A per-instance instrumentation helper preserves both IDs and raw usage while retaining the installed adapter's request bodies, provider routing, decoding parameters, parsing and error classification. Collection caps upstream BYOK charges, retains reservations on ambiguous failures, and persists received answers before billing lookup.

Raw survey snapshots and journals stay private; this PR contains no benchmark answer keys or claimed product wins. Historical absent-temperature runs sent 1.0; new runs use upstream defaults despite the existing tdefault identity. Experimental all-refusal cells remain unscorable rather than using a fabricated uniform distribution, so analyzer means are labeled separately from leaderboard SPS.

Validation: Python 3.12 full suite 1,400 passed / 8 skipped before final helper; 38 targeted campaign/transport/analysis tests and pinned Ruff check+format pass after integration. Initial CI passed Python 3.10–3.13. Sol and Opus council reviews covered the adapter, collector, analyzer and final billing helper. Findings were corrected or documented (strictly declining contrasts with unscorable cells is intentional).

Live pilots verified Claude BYOK inference, all eight Haiku 5.5/Sonnet 4.6 population-and-capture configurations, and exact upstream billing on the instrumented native transport. Sonnet 5.5 rejects forced-tool capture and remains in natural model screening only. Three campaign batches launched with a combined $175 ceiling; data collection and product conclusions are separate from this infrastructure PR.

@the-data-viking the-data-viking added the semver:minor Triggers minor version bump on merge label Nov 25, 2026
@the-data-viking
the-data-viking marked this pull request as ready for review November 25, 2026 14:53
@the-data-viking
the-data-viking merged commit 5f7053f into main Nov 25, 2026
13 checks passed
@the-data-viking
the-data-viking deleted the bench/claude-credit-study-20261125 branch November 25, 2026 15:01

This branch was successfully deployed

1 active deployment
pypi — a5642204 Deployed Nov 25, 2026 by the-data-viking via Publish synthbench-eval to PyPI #300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:minor Triggers minor version bump on merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant