Skip to content

The governor decides three clusters at once - #461

Merged
WaylandYang merged 2 commits into
devfrom
feat/governor-parallel-clusters
Sep 7, 2026
Merged

WaylandYang merged 2 commits into
devfrom
feat/governor-parallel-clusters

Conversation

@WaylandYang

Copy link
Copy Markdown
Contributor

Closes #458. Revises decision 3 of record 0025 with a dated note; the status line and the table gain a row.

What changes

  • Three clusters a round. The round scans the head of the queue outward and takes up to three clusters that share no entity and no name (a merge in one changes what the other sees). Their pairs are locked together, the three batch calls go out together (join_all), the round's uncertain pairs get their second look together, and the results are applied in order, cluster by cluster, because chained merges must stay sequential. settle is split into wants_second_look, second_look and apply for that.
  • The model's concurrency limit stays the ceiling: llm_util's gate still hands out the permits, so a base cannot exceed what the endpoint allows however many clusters a round holds.
  • A plural now counts as a word boundary in name_shape: "sorting algorithms" contains "sorting algorithm", "Financial Times" contains "Time" as an abbreviation. The run showed one merge that slipped through the old boundary.

Measured on the labeled base (589 pairs, three concurrent calls)

decided on its own agreed with the labels wrong merges wrong keeps left for people wall clock · loop calls
one cluster a round (#457) 97.9% 96.9% 4 11 11 25 min · 46
three clusters a round 97.7% 96.7% 6 10 12 13 min · 28

The score is the same within the model's run-to-run noise (four of the six wrong merges are one pair, "OpenAI, Inc." ≟ "OpenAI", on which the model flips between runs); the wall clock halves. No rate limiting was logged at three concurrent calls.

Verified

Unit tests for the shapes with the plural boundary; the governor's real-database test; the timed run above.

🤖 Generated with Claude Code

WaylandYang and others added 2 commits September 7, 2026 07:34
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: WaylandYang <wayland0916@gmail.com>
…ree-cluster round

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: WaylandYang <wayland0916@gmail.com>
@WaylandYang
WaylandYang merged commit f161270 into dev Sep 7, 2026
4 checks passed
@WaylandYang
WaylandYang deleted the feat/governor-parallel-clusters branch September 7, 2026 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The governor decides several clusters at once

1 participant