{ "is_recording": true, "title": "Recorded starlette pack", "recorded_at": "2026-10-26T19:15:16.531485+00:00", "repo_url": "https://github.com/Kludex/starlette", "source_repo_url": "https://github.com/encode/starlette", "ref": "8aa828c", "pack_tokens": 327836, "prompt_tokens": 394577, "completion_tokens": 4733, "latency_seconds": 21.363057655005832, "truncated": true, "token_limit": 400000, "trace_path": "results_live/traces/starlette-400000.json", "candidate_count": 3, "symbol_candidates": 2, "whole_candidates": 1, "kept": 2, "rejected": 1, "candidates": [ { "id": "C01", "source": "symbol check", "claim": "method-call-signature: `client.get(...)`: no parameter named 'headers'; no package method 'get' accepts it (e.g. Config.get at starlette/config.py:94)", "doc_path": "docs/testclient.md", "doc_line": 53, "verdict": "false", "reason": "TestClient inherits httpx's client API, where request methods such as get accept a `headers` argument.", "code_path": "starlette/testclient.py", "code_line": 440 }, { "id": "C02", "source": "whole-repo pass", "claim": "The WebSocket documentation calls `receive_json` with a positional `data` argument, but the implementation only accepts `mode`.", "doc_path": "docs/websockets.md", "doc_line": 73, "verdict": "true_drift", "reason": "The documented call passes a positional `data` argument, but `WebSocket.receive_json` accepts only `mode`.", "code_path": "starlette/websockets.py", "code_line": 136 }, { "id": "C03", "source": "symbol check", "claim": "method-call-signature: `websocket.receive_json(...)`: keyword 'mode' would also be filled positionally (multiple values); no package method 'receive_json' accepts it (e.g. WebSocketTestSession.receive_json at starlette/testclient.py:188)", "doc_path": "docs/websockets.md", "doc_line": 74, "verdict": "true_drift", "reason": "The WebSocket test session's `receive_json` also accepts only `mode` and has no `data` parameter.", "code_path": "starlette/testclient.py", "code_line": 188 } ], "tracebacks": [ { "attempt": 3, "status": "reproduced", "exception_type": "TypeError", "excerpt": "TypeError: WebSocket.receive_json() got multiple values for argument 'mode'", "script_origin": "script written by hand from Beam's verdict" } ], "pr": { "label": "Open PR #3746", "url": "https://github.com/Kludex/starlette/pull/3746", "note": "Filed by this project. Open, not merged." }, "repro_note": "Strict repro: TypeError on the documented-usage receive_json(data, mode=\"binary\") line. Counted in the 30. Script written by hand from Beam's verdict.", "drift_card": { "doc_path": "docs/websockets.md", "doc_line": 74, "doc_line_note": "The whole-repo pass recorded docs/websockets.md:73, the sentence before the call. The call is on line 74 at 8aa828c. The symbol check flagged the same call.", "doc_quote": "Use `websocket.receive_json(data, mode=\"binary\")` to receive JSON over binary data frames.", "code_path": "starlette/websockets.py", "code_line": 136, "code_quote": "async def receive_json(self, mode: str = \"text\") -> Any:", "error": "TypeError: WebSocket.receive_json() got multiple values for argument 'mode'", "found_by": "Beam's whole-repo pass (also flagged by the symbol check)", "pr_url": "https://github.com/Kludex/starlette/pull/3746", "pr_label": "PR #3746 open, not merged", "hand_written": true, "hand_written_note": "Repro script for this one was written by hand from Beam's verdict; the other repros were written by Beam." } }