testsAndMisc/docs
Krzysztof kuhy Rudnicki c5cd63fb80
Some checks are pending
md-naming / markdown naming convention (push) Waiting to run
Pre-commit checks / pre-commit (push) Waiting to run
Python tests / test (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
token_audit: measure tool-call batching per API message
Counting transcript records reports 1.00 tool calls per message no matter
what the model did: the harness writes one JSONL record per tool_use block,
all sharing message.id. A hand-rolled per-record count read the real 1.9%
batching rate as 0.0%, which nearly shipped as a headline finding.

Group by message.id instead, and report it, so the number comes from a
tested code path with the window handled by find_transcripts rather than an
ad-hoc timestamp. Three snapshot fields give next week's run a baseline.

Axes was at the 12-attribute cap, so the counters live in their own Batching
dataclass with the two ratios as properties.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NiSSDu4gKbp9GGxTTtXvYW
2026-08-28 12:22:21 +02:00
..
explanations Dissolve linux_configuration/scripts/ and single_use/ 2026-08-23 18:53:30 +02:00
superpowers token_audit: measure tool-call batching per API message 2026-08-28 12:22:21 +02:00
DOCS-agent-harness-evaluation-2026-08-18.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-app-split-recipes.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-device-owner-research.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-dns-filtering-parked.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-kcov-under-report.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-python-split-recipes.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-restructure-live-state.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-shared-checkout-safety.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-shell-split-harness.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-shell-split-recipes.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-shell-split-verification.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-syncyomi-restore-runbook.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
mcp-shortlist.html docs: add MCP server security-triage shortlist 2026-07-17 19:16:31 +02:00