Skip to content

feat: add pluggable reranker and diversity eval gating#52

Merged
Helweg merged 20 commits intomainfrom
feature/pluggable-reranker
Apr 12, 2026
Merged

feat: add pluggable reranker and diversity eval gating#52
Helweg merged 20 commits intomainfrom
feature/pluggable-reranker

Conversation

@Helweg
Copy link
Copy Markdown
Owner

@Helweg Helweg commented Apr 11, 2026

Summary

Add a pluggable external reranker pipeline with intent-aware guardrails, diversity controls, and evaluation/CI coverage so reranking quality is measurable and protected against regression.

Changes

  • add optional external reranker support with snippet-aware payloads, exact-definition bypass, intent-safe banding, and duplicate suppression in src/indexer/index.ts
  • add reranker config, benchmark coverage, and integration/unit tests across ranking, search, and config behavior
  • extend evaluation with deduped/raw top-k diversity metrics plus budget, baseline, and report support so CI can gate reranker-quality regressions

Testing

How were these changes tested?

  • Unit tests added/updated
  • Manual testing performed
  • Build passes (npm run build)
  • Typecheck passes (npm run typecheck)
  • Tests pass (npm run test:run)
  • Lint passes (npm run lint)

Release Labels

  • Added at least one release category label (feature, bug, performance, documentation, dependencies, refactor, test, chore, or skip-changelog)
  • Added at most one semver label (semver:major, semver:minor, semver:patch) when needed

Related Issues

None.

@Helweg Helweg added the feature New feature or capability label Apr 11, 2026
@github-actions github-actions bot added documentation Documentation changes test Test changes labels Apr 11, 2026
@Helweg Helweg force-pushed the feature/pluggable-reranker branch from a57e4af to 2372deb Compare April 11, 2026 20:57
@Helweg Helweg merged commit a77e26c into main Apr 12, 2026
3 checks passed
@Helweg Helweg deleted the feature/pluggable-reranker branch April 12, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation changes feature New feature or capability test Test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant