docs: PTY sessions priced from their transcripts

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-10-29 04:59:35 +00:00
1 parent eb0be6ec1d
commit 2c2c18901c
3 files changed
+30 -14

No files matched your search

+7 -5
View File
@@ -2263,11 +2263,13 @@ case with `bun run eval:pass-rates --headroom --case <id>`.
### `cost unknown (no billing captured for any of <N> trial(s))` / `cost $<x> known + <N> of <M> trial(s) cost unknown`
**Meaning.** Some trials' cost was not captured, so only the known sum is
shown. A trial is cost-unknown when it ran a PTY session (PTY sessions record
no billing), a Codex session that completed no turn or whose model has no price
row, a `claude -p` session that ended without a result, or an aborted Agent
SDK session whose streamed usage could not be priced (no usage, or a model with
no price row). An aborted Agent SDK session with priced usage counts its
shown. A trial is cost-unknown when it ran a PTY session whose transcript
could not be priced (a non-hermetic or resumed launch without a caller
`--session-id`, no transcript or usage, or a model with no price row), a
Codex session that completed no turn or whose model has no price row, a
`claude -p` session that ended without a result, or an aborted Agent SDK
session whose streamed usage could not be priced (no usage, or a model with no
price row). A PTY or aborted Agent SDK session that does price counts its
`streamed_cost_usd` instead. A trial is also unknown when no record and no
session can be attributed to it, for example a multi-case shard's
display-label record without `cost_case_id` (a one-case shard's records are