Skip to content

Allow access to the inner accessor in BetaAccessor. - #1391

Merged
Mark Hildebrand (hildebrandmw) merged 1 commit into
mainfrom
mhildebr/beta-inner
Sep 11, 2026
Merged

Allow access to the inner accessor in BetaAccessor.#1391
Mark Hildebrand (hildebrandmw) merged 1 commit into
mainfrom
mhildebr/beta-inner

Conversation

@hildebrandmw

Copy link
Copy Markdown
Contributor

Needed for enabling tunneling into the inner accessor for custom metric reporting. We aren't really exposing any additional members since Unwrap already allows direct access to the inner accessor.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No unresolved review issues were identified.

Pull request overview

Adds a public mutable accessor to BetaAccessor for custom metric reporting and accessor tunneling.

Changes:

  • Adds the documented BetaAccessor::inner() method.
File summaries
File Summary
diskann-providers/src/model/graph/provider/layers/betafilter.rs Exposes the wrapped accessor through a public method.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.56%. Comparing base (a2373e8) to head (684a477).

Files with missing lines Patch % Lines
...ders/src/model/graph/provider/layers/betafilter.rs 0.00% 3 Missing ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1391      +/-   ##
==========================================
- Coverage   92.57%   92.56%   -0.01%     
==========================================
  Files         522      522              
  Lines      101105   101108       +3     
==========================================
- Hits        93596    93595       -1     
- Misses       7509     7513       +4     
Flag Coverage Δ
miri 92.56% <0.00%> (-0.01%) ⬇️
unittests 92.51% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...ders/src/model/graph/provider/layers/betafilter.rs 93.18% <0.00%> (-2.17%) ⬇️

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hildebrandmw
Mark Hildebrand (hildebrandmw) merged commit 2337b51 into main Sep 11, 2026
31 checks passed
@hildebrandmw
Mark Hildebrand (hildebrandmw) deleted the mhildebr/beta-inner branch September 11, 2026 19:19
Mark Hildebrand (hildebrandmw) added a commit that referenced this pull request Sep 11, 2026
This change is backwards compatible with 0.58.0 outside of the following
breaking changes to `diskann-disk`:

* Public function `diskann_disk::search::pq::quantizer_preprocess`
removed. It has been removed and its logic folded into a private
`PQScratch::prepare_query`/`preprocess_query` method as part of
migrating disk PQ flat scan onto the new flat-scan API (#1341).

## What's Changed
* Migrate disk PQ flat scan to flat API by @partychen in
#1341
* Bump the github-actions group across 1 directory with 3 updates by
@dependabot[bot] in #1371
* [diskann-garnet] Implement `continue_search()` by @metajack in
#1357
* [diskann-wide] Add more 64-bit neon types by @hildebrandmw in
#1377
* Allow access to the inner accessor in `BetaAccessor`. by @hildebrandmw
in #1391
* [multi vector] Distance Kernels by @hildebrandmw in
#1368


**Full Changelog**:
v0.58.0...v0.59.0
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.

5 participants