Skip to content

Make convergence clustering threshold configurable via --threshold#100

Merged
that-github-user merged 1 commit into
mainfrom
issue-65-threshold-config
Mar 28, 2026
Merged

Make convergence clustering threshold configurable via --threshold#100
that-github-user merged 1 commit into
mainfrom
issue-65-threshold-config

Conversation

@that-github-user

Copy link
Copy Markdown
Owner

Summary

  • analyzeConvergence() accepts threshold parameter (default 0.3)
  • --threshold CLI flag for tuning clustering sensitivity
  • 1 new test verifying threshold affects clustering output

Generated by thinktank Opus — 5 agents, 76% strong consensus, all pass, all changed same 6 files.

Change type

  • New feature

Related issue

Closes #65

How to test

npm test  # 92 tests pass
thinktank run "task" --threshold 0.5  # stricter clustering
thinktank run "task" --threshold 0.1  # looser clustering

Breaking changes

  • This PR introduces breaking changes

🤖 Generated with thinktank (Opus)

analyzeConvergence now accepts a threshold parameter (default 0.3).
New --threshold CLI flag passes through RunOptions. Test verifies
different thresholds produce different clustering results.

Generated by thinktank Opus (5 agents, 76% consensus, all pass).

Closes #65

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@that-github-user

Copy link
Copy Markdown
Owner Author

Self-review: Threshold parameter added to analyzeConvergence with default 0.3 (backward compatible). CLI validation would be nice but not blocking. 92 tests pass, CI green.

@that-github-user that-github-user merged commit 42fddbd into main Mar 28, 2026
4 checks passed
@that-github-user that-github-user deleted the issue-65-threshold-config branch March 28, 2026 20:41
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.

Make convergence clustering threshold configurable

1 participant