Fix the round loop's judge retry, reload and archive modes in loop-claude #14

Merged
lilleman merged 6 commits from loop-claude-round into main 2026-09-24 22:22:48 +02:00
Showing only changes of commit 7f30bdf8a0 - Show all commits
+2 -2
View File
@@ -27,8 +27,8 @@ def human(content):
class Sections(unittest.TestCase):
def test_keeps_only_headed_sections_with_a_body(self):
text = "# Title\n\nintro\n\n## Goals\n\n1. one\n2. two\n\n## Empty\n\n## Audience\nme\n# Appendix\nnot audience\n"
self.assertEqual(loop.sections(text), {"Goals": "1. one\n2. two", "Audience": "me"})
text = "# Title\n\nintro\n\n## Goals\n\n1. one\n```sh\n# not a heading\n```\n2. two\n\n## Empty\n\n## Audience\nme\n# Appendix\nnot audience\n"
self.assertEqual(loop.sections(text), {"Goals": "1. one\n```sh\n# not a heading\n```\n2. two", "Audience": "me"})
class Render(unittest.TestCase):