testsAndMisc/python_pkg/token_audit/tests
Krzysztof kuhy Rudnicki c287f59621 token_audit: label every subagent; Bash metric per day + big-result share
- Subagents that outlived /clear land in a new session's subagents/ dir with
  no meta: borrow the spawning session's agent-<id>.meta.json, else the first
  prompt line. Clears the $35.93 '?' row; no launch lacked a description.
- bash_tokens_per_call rose 41% with Bash tokens/day flat (cheap calls fell
  28%). Compare bash_tokens_per_day and bash_big_result_share (results >2k)
  instead; the Large-Bash lever keys on the share. Tool counters grouped in
  ToolPayloads.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TjyHmRrjZssaxXDWcGuCeQ
2026-10-10 12:43:28 +02:00
..
__init__.py Add token_audit package: per-session token attribution and reporting 2026-08-14 22:20:44 +02:00
conftest.py token_audit v2: dedup, subagents, per-model USD, snapshots+ledger; repo contract; dep bumps (fixes red freshness CI) 2026-10-04 16:39:42 +02:00
test_attribute.py token_audit: label every subagent; Bash metric per day + big-result share 2026-10-10 12:43:28 +02:00
test_breakdown.py token_audit v2: dedup, subagents, per-model USD, snapshots+ledger; repo contract; dep bumps (fixes red freshness CI) 2026-10-04 16:39:42 +02:00
test_checkup.py Land the token_audit standing-cost checkup (116 tests, 100% branch coverage) 2026-08-22 14:33:03 +02:00
test_cli.py token_audit v2: dedup, subagents, per-model USD, snapshots+ledger; repo contract; dep bumps (fixes red freshness CI) 2026-10-04 16:39:42 +02:00
test_discover.py token_audit: label every subagent; Bash metric per day + big-result share 2026-10-10 12:43:28 +02:00
test_history_score.py token_audit v2: dedup, subagents, per-model USD, snapshots+ledger; repo contract; dep bumps (fixes red freshness CI) 2026-10-04 16:39:42 +02:00
test_history.py token_audit v2: dedup, subagents, per-model USD, snapshots+ledger; repo contract; dep bumps (fixes red freshness CI) 2026-10-04 16:39:42 +02:00
test_model.py Add token_audit package: per-session token attribution and reporting 2026-08-14 22:20:44 +02:00
test_parse_events.py token_audit v2: dedup, subagents, per-model USD, snapshots+ledger; repo contract; dep bumps (fixes red freshness CI) 2026-10-04 16:39:42 +02:00
test_parse_subagent.py token_audit: label every subagent; Bash metric per day + big-result share 2026-10-10 12:43:28 +02:00
test_parse.py token_audit v2: dedup, subagents, per-model USD, snapshots+ledger; repo contract; dep bumps (fixes red freshness CI) 2026-10-04 16:39:42 +02:00
test_pricing.py token_audit v2: dedup, subagents, per-model USD, snapshots+ledger; repo contract; dep bumps (fixes red freshness CI) 2026-10-04 16:39:42 +02:00
test_probe.py Land the token_audit standing-cost checkup (116 tests, 100% branch coverage) 2026-08-22 14:33:03 +02:00
test_recommend.py token_audit: label every subagent; Bash metric per day + big-result share 2026-10-10 12:43:28 +02:00
test_records.py token_audit v2: dedup, subagents, per-model USD, snapshots+ledger; repo contract; dep bumps (fixes red freshness CI) 2026-10-04 16:39:42 +02:00
test_report.py token_audit: measure tool-call batching per API message 2026-08-28 12:22:21 +02:00
test_review.py token_audit: label every subagent; Bash metric per day + big-result share 2026-10-10 12:43:28 +02:00
test_surfaces.py Land the token_audit standing-cost checkup (116 tests, 100% branch coverage) 2026-08-22 14:33:03 +02:00
test_unused.py Land the token_audit standing-cost checkup (116 tests, 100% branch coverage) 2026-08-22 14:33:03 +02:00