graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
evals: json-stream SPEC states that a whitespace-only json-seq payload yields nothing (#1658)
Rach0ea2ea14631b
diff --git a/graff-evals/fixtures/json-stream/SPEC.md b/graff-evals/fixtures/json-stream/SPEC.mdindex f18c41c9..82b2c880 100644--- a/graff-evals/fixtures/json-stream/SPEC.md+++ b/graff-evals/fixtures/json-stream/SPEC.md@@ -21,8 +21,8 @@ NDJSON: split on LF / CR / CRLF. Skip blank lines. Each other line is oneJSON value.JSON text sequences: records start with RS (`0x1e`). Strip at most one-trailing LF per record, then parse one JSON value. Empty payload yields-nothing.+trailing LF per record, then parse one JSON value. An empty or+whitespace-only payload yields nothing.If `streaming=True`, a second call on the same consumed stream raises`StreamConsumed`. In-memory (`streaming=False`) iteration is repeatable —