Skip to content

feat: Optimized retrieval (RRF/ANN), refined scoring, and enhanced robustness via idempotent writes.#19

Merged
Teingi merged 2 commits into
ob-labs:mainfrom
Evenss:main
May 28, 2026
Merged

feat: Optimized retrieval (RRF/ANN), refined scoring, and enhanced robustness via idempotent writes.#19
Teingi merged 2 commits into
ob-labs:mainfrom
Evenss:main

Conversation

@Evenss
Copy link
Copy Markdown
Contributor

@Evenss Evenss commented May 28, 2026

Summary

  1. Multi-path Recall: Switched fusion strategy to Reciprocal Rank Fusion (RRF), replacing the previous "max-score overwrite" deduplication method.
  2. Reranking Score Calculation: Changed from "additive accumulation + truncation" to "normalized weighted average."
  3. Feedback Handling: Entries with no interaction are excluded from the weighted average calculation.
  4. Stage Handling: Missing or unknown stages are treated as raw.
  5. Write-time Conflict Detection: Optimized candidate set generation from "full scan" to "ANN top-K."
  6. LLM Judge Budget Allocation: Consumption order is now sorted by overlap in descending order.
  7. Exact Duplicate Handling: Replaced ValueError exception with idempotent return behavior.
  8. Hash Indexing: Moved find_by_hash logic into the backend/adapter layer.

Evenss added 2 commits May 28, 2026 19:00
…bustness via idempotent writes.

1.  Multi-path Recall: Switched fusion strategy to Reciprocal Rank Fusion (RRF), replacing the previous "max-score overwrite" deduplication method.
2.  Reranking Score Calculation: Changed from "additive accumulation + truncation" to "normalized weighted average."
3.  Feedback Handling: Entries with no interaction are excluded from the weighted average calculation.
4.  Stage Handling: Missing or unknown stages are treated as `raw`.
5.  Write-time Conflict Detection: Optimized candidate set generation from "full scan" to "ANN top-K."
6.  LLM Judge Budget Allocation: Consumption order is now sorted by overlap in descending order.
7.  Exact Duplicate Handling: Replaced `ValueError` exception with idempotent return behavior.
8.  Hash Indexing: Moved `find_by_hash` logic into the `backend/adapter` layer.
Copy link
Copy Markdown
Contributor

@Teingi Teingi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Teingi Teingi merged commit ee2421b into ob-labs:main May 28, 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.

2 participants