Answer prose round 1: 0 🔴, 12 🟡 (0 misread); keep a {} line as an entry, point handed_on and parked_through at the docstrings that hold their rules, split news_after's two kinds of news, say what each parameter is, reword item 517's way out, and report a .tar left behind as its own failure

This commit is contained in:
2026-11-23 02:30:59 +01:00
parent ba50eacafe
commit 83194a11a5
14 changed files with 36 additions and 30 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ def parse_entry(raw: str | bytes) -> Entry | None:
def json_objects(raw: bytes) -> list[dict]:
"""The lines of a transcript or a stream-json stream that are JSON objects, parsed."""
return [found for line in raw.splitlines() if (found := json_object(line))]
return [found for line in raw.splitlines() if (found := json_object(line)) is not None]
def entries_of(raw: bytes) -> list[Entry]: