Answer prose round 1: 0 🔴, 8 🟡 (0 misread); reword the running loops' docstrings, help and decision, widen the decision's title, keep filed items out of items_taken_in

This commit is contained in:
2026-10-29 20:42:37 +01:00
parent 0a9fe07084
commit ac9d107066
16 changed files with 37 additions and 36 deletions
+3 -3
View File
@@ -4,7 +4,7 @@ How it shows the loops and a question was picked on 2026-10-28 by a bench of thr
audience, as ~/.claude/CLAUDE.md → "Working loop" → "Bench a syntax with the people who write it." has it: a block per
loop with its checkout's path and how long it has waited, and an answer prompt saying that Enter alone doesn't stop the loop.
A second bench, on 2026-10-29, picked the running loops' section: below the waiting loops, a line per loop with its
checkout and the number it waits as, then a line per item its chunk takes, with its ID and tagline.
checkout and its number in the list above where it waits for an answer, then a line per item its chunk takes, with its ID and tagline.
"""
import dataclasses
import textwrap
@@ -27,7 +27,7 @@ NARROWEST = 20
@dataclasses.dataclass(frozen=True)
class Listing:
"""The waiting loops as they were when the human began typing a number, so a loop's number doesn't change while they type it, and the running loops."""
"""The waiting and running loops as they were when the human began typing a number, so a loop's number doesn't change while they type it."""
shown: tuple[Ask, ...] = ()
typed: str = ""
note: str = ""
@@ -116,7 +116,7 @@ def listing_lines(screen: Listing, now: float, local_time: typing.Callable[[floa
def running_lines(running: tuple[RunningLoop, ...], shown: tuple[Ask, ...], width: int) -> list[str]:
"""Each running loop's checkout, with the number it waits as, and a line per item its chunk takes."""
"""Each running loop's checkout, with its number in the waiting list where it waits for an answer, and a line per item its chunk takes."""
if not running:
return ["No loop runs."]
numbers = {ask.session: number for number, ask in enumerate(shown, 1)}