Skip to content

feat(pilot): add binary pruning and pre-filtering for wide nodes#63

Merged
zTgx merged 1 commit intomainfrom
dev
Apr 14, 2026
Merged

feat(pilot): add binary pruning and pre-filtering for wide nodes#63
zTgx merged 1 commit intomainfrom
dev

Conversation

@zTgx
Copy link
Copy Markdown
Contributor

@zTgx zTgx commented Apr 14, 2026

Add binary pruning functionality to quickly filter relevant candidates before full scoring. Introduce pre-filtering using NodeScorer to reduce LLM token costs when nodes have many children.

  • Add Prune InterventionPoint for binary relevance filtering
  • Implement PrefilterConfig and PruneConfig with configurable thresholds
  • Add pre-filtering logic in score_candidates_detailed to narrow candidate sets using NodeScorer before LLM calls
  • Implement binary_prune method in LLM pilot for quick yes/no relevance decisions
  • Update metrics collection to track pruning interventions
  • Add comprehensive tests for new configuration options

Add binary pruning functionality to quickly filter relevant candidates
before full scoring. Introduce pre-filtering using NodeScorer to reduce
LLM token costs when nodes have many children.

- Add Prune InterventionPoint for binary relevance filtering
- Implement PrefilterConfig and PruneConfig with configurable thresholds
- Add pre-filtering logic in score_candidates_detailed to narrow
  candidate sets using NodeScorer before LLM calls
- Implement binary_prune method in LLM pilot for quick yes/no relevance
  decisions
- Update metrics collection to track pruning interventions
- Add comprehensive tests for new configuration options
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vectorless Ready Ready Preview, Comment Apr 14, 2026 4:06am

@zTgx zTgx merged commit 76e6eed into main Apr 14, 2026
2 checks passed
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.

1 participant