synthesize: context and offer kinds, Q1 section, points cap, firmer novel rule (dress rehearsal tuning)

From a 50-response dress rehearsal on 2026-10-27:

- Answers about why someone joined were being clustered as points and
  padded the privacy theme with 'joined because they hate ads'. Tag them
  as kind=context, keep them out of clustering, and render a 'Why people
  joined' sample instead.
- Two members volunteered help and landed under standout ideas. Tag
  those as kind=offer and give them an 'Offers of help' section.
- 'Points raised' lists ran to 27 bullets per theme; cap at 12 with a
  pointer to synthesis.json.
- One run read 'novel' as 'left unthemed' and returned 2 standout ideas
  instead of ~10. The cluster prompt now says standout ideas usually sit
  inside a theme and asks for 5 to 10 concrete mechanisms.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
solo.istandClaude Fable 5.1 committed 2026-10-27 01:01:26 -04:00
1 parent 68775856f4
commit a285ccb1dc
7 files changed
+144 -104

No files matched your search

+32 -60
View File
@@ -18,118 +18,90 @@ _12 of 12 responses answered._
- ██████ **2** · owning our own infrastructure
- ██████ **2** · green energy
## Why people joined
_12 of 12 people said what brought them here or how they use the co-op today. A sample; the rest are in the appendix._
> "Privacy. I wanted an AI I" (r01, Q1)
> "Green energy mostly. I teach and" (r02, Q1)
> "Curiosity about co-op governance. I use" (r03, Q1)
> "A friend invited me. I mostly" (r04, Q1)
> "Wanted to support a cooperative alternative." (r05, Q1)
> "Privacy and the TEE story. Chat" (r06, Q1)
> "I run a small nonprofit and" (r07, Q1)
> "Governance nerd. I barely use the" (r08, Q1)
> "Needed an API for a side" (r09, Q1)
> "Climate reasons." (r10, Q1)
> "Wanted to try open-weight models without" (r11, Q1)
> "Someone mentioned it at a Metagov" (r12, Q1)
## Themes
| # | Theme | People | Points | For / Against |
|---|---|---|---|---|
| 1 | Own the stack | 7 | 36 | 36 / 0 |
| 2 | Institutional access | 6 | 35 | 35 / 0 |
| 1 | Own the stack | 7 | 30 | 30 / 0 |
| 2 | Institutional access | 6 | 29 | 29 / 0 |
### 1. Own the stack
_7 of 12 people · 36 idea_
_7 of 12 people · 30 idea_
Self-hosting versus buying tokens.
Points raised:
- point about Q6 from r06
- point about Q1 from r07
- point about Q2 from r07
- point about Q3 from r07
- point about Q4 from r07
- point about Q5 from r07
- point about Q6 from r07
- point about Q1 from r08
- point about Q2 from r08
- point about Q3 from r08
- point about Q4 from r08
- point about Q5 from r08
- point about Q6 from r08
- point about Q7 from r08
- point about Q1 from r09
- point about Q2 from r09
- point about Q3 from r09
- point about Q4 from r09
- point about Q5 from r09
- point about Q1 from r10
- point about Q2 from r10
- point about Q3 from r10
- point about Q5 from r10
- point about Q6 from r10
- point about Q1 from r11
- point about Q2 from r11
- point about Q3 from r11
- point about Q4 from r11
- point about Q5 from r11
- point about Q6 from r11
- point about Q1 from r12
- point about Q2 from r12
- point about Q3 from r12
- point about Q4 from r12
- point about Q5 from r12
- point about Q7 from r12
- …and 18 more (full list in synthesis.json)
> "I disagree with adding providers that" (r06, Q6)
> "I run a small nonprofit and" (r07, Q1)
> "Governance nerd. I barely use the" (r08, Q1)
> "Needed an API for a side" (r09, Q1)
> "Group accounts with a shared budget" (r07, Q2)
> "Publish a monthly financial and usage" (r08, Q2)
> "An Anthropic-compatible /v1/messages endpoint that is" (r09, Q2)
### 2. Institutional access
_6 of 12 people · 35 idea_
_6 of 12 people · 29 idea_
Group and org accounts.
Points raised:
- point about Q1 from r01
- point about Q2 from r01
- point about Q3 from r01
- point about Q4 from r01
- point about Q5 from r01
- point about Q6 from r01
- point about Q1 from r02
- point about Q2 from r02
- point about Q3 from r02
- point about Q4 from r02
- point about Q5 from r02
- point about Q6 from r02
- point about Q7 from r02
- point about Q1 from r03
- point about Q2 from r03
- point about Q3 from r03
- point about Q4 from r03
- point about Q5 from r03
- point about Q6 from r03
- point about Q1 from r04
- point about Q2 from r04
- point about Q3 from r04
- point about Q5 from r04
- point about Q1 from r05
- point about Q2 from r05
- point about Q3 from r05
- point about Q4 from r05
- point about Q5 from r05
- point about Q6 from r05
- point about Q7 from r05
- point about Q1 from r06
- point about Q2 from r06
- point about Q3 from r06
- point about Q4 from r06
- point about Q5 from r06
- …and 17 more (full list in synthesis.json)
> "Privacy. I wanted an AI I" (r01, Q1)
> "Green energy mostly. I teach and" (r02, Q1)
> "Curiosity about co-op governance. I use" (r03, Q1)
> "A friend invited me. I mostly" (r04, Q1)
> "A shared prompt library members can" (r01, Q2)
> "Classroom or group accounts: one payment," (r02, Q2)
> "An institutional or app-partner membership so" (r03, Q2)
> "Voice mode on the phone app." (r04, Q2)
## Standout ideas
_Raised by one person, specific enough to be worth a look._
- **point about Q1 from r01** (idea)
"Privacy. I wanted an AI I" (r01, Q1)
- **point about Q2 from r01** (idea)
"A shared prompt library members can" (r01, Q2)
## Notable dissent
+15 -27
View File
@@ -5,7 +5,7 @@
"q": "Q1",
"question": "What drew you to the co-op, and what do you use it for today?",
"label": "point about Q1 from r01",
"kind": "idea",
"kind": "context",
"stance": "for",
"quote": "Privacy. I wanted an AI I",
"iid": "i001"
@@ -65,7 +65,7 @@
"q": "Q1",
"question": "What drew you to the co-op, and what do you use it for today?",
"label": "point about Q1 from r02",
"kind": "idea",
"kind": "context",
"stance": "for",
"quote": "Green energy mostly. I teach and",
"iid": "i007"
@@ -135,7 +135,7 @@
"q": "Q1",
"question": "What drew you to the co-op, and what do you use it for today?",
"label": "point about Q1 from r03",
"kind": "idea",
"kind": "context",
"stance": "for",
"quote": "Curiosity about co-op governance. I use",
"iid": "i014"
@@ -195,7 +195,7 @@
"q": "Q1",
"question": "What drew you to the co-op, and what do you use it for today?",
"label": "point about Q1 from r04",
"kind": "idea",
"kind": "context",
"stance": "for",
"quote": "A friend invited me. I mostly",
"iid": "i020"
@@ -235,7 +235,7 @@
"q": "Q1",
"question": "What drew you to the co-op, and what do you use it for today?",
"label": "point about Q1 from r05",
"kind": "idea",
"kind": "context",
"stance": "for",
"quote": "Wanted to support a cooperative alternative.",
"iid": "i024"
@@ -305,7 +305,7 @@
"q": "Q1",
"question": "What drew you to the co-op, and what do you use it for today?",
"label": "point about Q1 from r06",
"kind": "idea",
"kind": "context",
"stance": "for",
"quote": "Privacy and the TEE story. Chat",
"iid": "i031"
@@ -365,7 +365,7 @@
"q": "Q1",
"question": "What drew you to the co-op, and what do you use it for today?",
"label": "point about Q1 from r07",
"kind": "idea",
"kind": "context",
"stance": "for",
"quote": "I run a small nonprofit and",
"iid": "i037"
@@ -425,7 +425,7 @@
"q": "Q1",
"question": "What drew you to the co-op, and what do you use it for today?",
"label": "point about Q1 from r08",
"kind": "idea",
"kind": "context",
"stance": "for",
"quote": "Governance nerd. I barely use the",
"iid": "i043"
@@ -495,7 +495,7 @@
"q": "Q1",
"question": "What drew you to the co-op, and what do you use it for today?",
"label": "point about Q1 from r09",
"kind": "idea",
"kind": "context",
"stance": "for",
"quote": "Needed an API for a side",
"iid": "i050"
@@ -545,7 +545,7 @@
"q": "Q1",
"question": "What drew you to the co-op, and what do you use it for today?",
"label": "point about Q1 from r10",
"kind": "idea",
"kind": "context",
"stance": "for",
"quote": "Climate reasons.",
"iid": "i055"
@@ -595,7 +595,7 @@
"q": "Q1",
"question": "What drew you to the co-op, and what do you use it for today?",
"label": "point about Q1 from r11",
"kind": "idea",
"kind": "context",
"stance": "for",
"quote": "Wanted to try open-weight models without",
"iid": "i060"
@@ -655,7 +655,7 @@
"q": "Q1",
"question": "What drew you to the co-op, and what do you use it for today?",
"label": "point about Q1 from r12",
"kind": "idea",
"kind": "context",
"stance": "for",
"quote": "Someone mentioned it at a Metagov",
"iid": "i066"
@@ -717,37 +717,31 @@
"name": "Institutional access",
"summary": "Group and org accounts.",
"item_ids": [
"i001",
"i002",
"i003",
"i004",
"i005",
"i006",
"i007",
"i008",
"i009",
"i010",
"i011",
"i012",
"i013",
"i014",
"i015",
"i016",
"i017",
"i018",
"i019",
"i020",
"i021",
"i022",
"i023",
"i024",
"i025",
"i026",
"i027",
"i028",
"i029",
"i030",
"i031",
"i032",
"i033",
"i034",
@@ -759,36 +753,30 @@
"summary": "Self-hosting versus buying tokens.",
"item_ids": [
"i036",
"i037",
"i038",
"i039",
"i040",
"i041",
"i042",
"i043",
"i044",
"i045",
"i046",
"i047",
"i048",
"i049",
"i050",
"i051",
"i052",
"i053",
"i054",
"i055",
"i056",
"i057",
"i058",
"i059",
"i060",
"i061",
"i062",
"i063",
"i064",
"i065",
"i066",
"i067",
"i068",
"i069",
@@ -799,7 +787,7 @@
],
"unthemed": [],
"novel": [
"i001"
"i002"
],
"dissent": [
{
@@ -814,8 +802,8 @@
{
"question": "Institutional tier?",
"item_ids": [
"i001",
"i002"
"i002",
"i003"
]
},
{
+35 -4
View File
@@ -47,8 +47,8 @@ class FakeGateway(S.Gateway):
if line.startswith("### "):
head, _, _ = line[4:].partition(": ")
rid, q = head.split(" / ")
items.append({"id": rid, "q": q, "label": f"point about {q} from {rid}", "kind": "idea", "stance": "for",
"quote": None})
items.append({"id": rid, "q": q, "label": f"point about {q} from {rid}",
"kind": "context" if q == "Q1" else "idea", "stance": "for", "quote": None})
elif items and items[-1]["quote"] is None and line.strip():
items[-1]["quote"] = " ".join(line.split()[:6])
items.append({"id": rid, "q": "Q1", "label": "fabricated", "kind": "concern", "stance": "against",
@@ -155,15 +155,21 @@ class PipelineTests(unittest.TestCase):
self.assertEqual(len(dropped), 3) # one fabricated quote per batch
self.assertTrue(all(it["quote"] in " ".join(loaded["responses"][int(it["rid"][1:]) - 1]["answers"].values())
for it in items))
clusters = S.stage_cluster(gw, items, use_tools=False)
to_cluster, context, offers = S.split_items(items)
self.assertTrue(context and all(it["q"] == "Q1" for it in context))
self.assertFalse(any(it["kind"] in S.UNCLUSTERED_KINDS for it in to_cluster))
clusters = S.stage_cluster(gw, to_cluster, use_tools=False)
self.assertEqual(gw.calls, 4)
cluster_input = gw.posted[-1]["messages"][1]["content"]
self.assertNotIn(" context ", cluster_input)
self.assertFalse(set(it["iid"] for it in context) & set(clusters["unthemed"]))
self.assertEqual(len(clusters["themes"]), 2)
self.assertEqual(clusters["open_questions"][1], {"question": "Bare string question", "item_ids": []})
# Same inputs again: everything served from cache, no network.
gw2 = FakeGateway(cache_dir=Path(d) / "cache")
S.stage_tag(gw2, loaded, batch_size=5, use_tools=False)
S.stage_cluster(gw2, items, use_tools=False)
S.stage_cluster(gw2, to_cluster, use_tools=False)
self.assertEqual(gw2.calls, 0)
self.assertEqual(gw2.cache_hits, 4)
@@ -172,6 +178,8 @@ class PipelineTests(unittest.TestCase):
self.assertIn("# Coopertron 5000 report", md)
self.assertIn("## Priorities (pick up to 3)", md)
self.assertIn("**4** · privacy", md) # r01, r03, r06, r09 picked privacy
self.assertIn("## Why people joined", md)
self.assertNotIn("## Offers of help", md) # the fake never emits offers
self.assertIn("### 1. ", md)
self.assertIn("Institutional access", md)
self.assertIn("Own the stack", md)
@@ -209,6 +217,29 @@ class PipelineTests(unittest.TestCase):
self.assertEqual(gw.calls, 2)
class RenderTests(unittest.TestCase):
def test_offers_section_and_points_cap(self):
loaded = S.load_responses(FIX / "sample.csv")
r01 = loaded["responses"][0]
q2 = loaded["questions"][1]
words = r01["answers"][q2].split()
items = [{"iid": f"i{n:03d}", "rid": "r01", "q": "Q2", "label": f"distinct point {n}", "kind": "idea",
"stance": "for", "quote": " ".join(words[:3])} for n in range(1, 16)]
items.append({"iid": "i999", "rid": "r01", "q": "Q2", "label": "volunteers to run the prompt library",
"kind": "offer", "stance": "for", "quote": " ".join(words[:4])})
to_cluster, context, offers = S.split_items(items)
self.assertEqual(len(offers), 1)
self.assertEqual(len(to_cluster), 15)
clusters = {"themes": [{"name": "Big theme", "summary": "", "item_ids": [it["iid"] for it in to_cluster]}],
"unthemed": [], "novel": [], "dissent": [], "open_questions": []}
md = S.render(loaded, items, clusters, {"date": "2026-10-27", "source": "x.csv", "model": "m", "dropped": []})
self.assertIn("## Offers of help", md)
self.assertIn("**volunteers to run the prompt library**", md)
self.assertIn(f"…and {15 - S.POINTS_PER_THEME} more", md)
self.assertEqual(md.count("- distinct point "), S.POINTS_PER_THEME)
self.assertNotIn("## Why people joined", md)
class ReasoningExhaustionTests(unittest.TestCase):
def test_fails_fast_without_retry(self):
os.environ[S.KEY_ENV] = "sk-test-not-real"