From ec8b47812a1ce0d94746e89a747a65882bb830a6 Mon Sep 17 00:00:00 2001 From: garrytan Date: Sat, 31 Oct 2026 14:53:55 +0000 Subject: [PATCH] docs(testing): llm-judge-aborted lists bytesReceived and lastByteMs Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- docs/TESTING_INTERNALS.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/TESTING_INTERNALS.md b/docs/TESTING_INTERNALS.md index cb477888d..22aee4e56 100644 --- a/docs/TESTING_INTERNALS.md +++ b/docs/TESTING_INTERNALS.md @@ -787,7 +787,9 @@ When a judge's abort signal cancels its request, `callJudge` (`test/helpers/llm-judge.ts`) prints one `llm-judge-aborted` JSON line to stderr: elapsed time, wrapper `attempts` and `retryWaitsMs` (429 waits), `httpRequests` and `httpStatuses` (so SDK retries show), `connectedMs`, -`firstEventMs` and `lastEventMs`, the open `block` type, `thinkingChars` and +`firstEventMs` and `lastEventMs`, `bytesReceived` and `lastByteMs` (every body +byte, pings included, so a silent socket differs from a model thinking on a live +connection), the open `block` type, `thinkingChars` and `textChars`, `messageId`, `requestId` and the `reason` (at most 200 characters). It holds counts and ids only, never content, and changes no request, score or verdict.