Skip to content

Commit ca34424

Browse files
rm min rounds
1 parent 9c8e952 commit ca34424

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

.github/scripts/chatter.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@
5353

5454
REPLY_PATH = Path(os.environ.get("CHATTER_REPLY_FILE", "/tmp/chatter_reply.md"))
5555

56-
MIN_ROUNDS = 3
57-
5856
# A broad shelf of Project Gutenberg IDs — every one verified (HEAD 200) to
5957
# exist in the plain-text `cache/epub` form, so the grab is reliable. (Plenty of
6058
# IDs in the catalog 404 — e.g. the 182–199 gap — which is exactly why we keep a
@@ -256,9 +254,6 @@ def run_chain(issue: str, book: str) -> str:
256254
log(f"volley {rnd}: empty generation; retrying")
257255
continue
258256
log_block(f"volley {rnd} · generator ({len(candidate)} chars)", candidate)
259-
if rnd < MIN_ROUNDS:
260-
log("Continuing to cook")
261-
continue
262257
worthy, verdict = judge(candidate, issue)
263258
log_block(f"volley {rnd} · judge → {'WORTHY' if worthy else 'not yet'}", verdict)
264259
if worthy:

0 commit comments

Comments
 (0)