• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

deepset-ai / haystack / 16969724964 / 1
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 14 Aug 2025 03:36PM UTC
Files 229
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Aug 2025 03:34PM UTC coverage: 92.199% (+0.006%) from 92.193%
16969724964.1

push

github

web-flow
fix: fix inconsistent `top_k` validation in `SentenceTransformersDiversityRanker` (#9698)

* Fix inconsistent top_k validation in SentenceTransformersDiversityRanker
- change elif to if in run() method to ensure top_k validation always
  runs regardless of whatever top_k comes from init or runtime
- Both scenarios now consistently raise ValueError with descriptive
  message format: 'top_k must be between 1 and X, but got Y'
- Fixes inconsistency where init top_k gave confusing MMR error while
  runtime top_k gave clear validation error

* improvements

---------

Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>

12895 of 13986 relevant lines covered (92.2%)

0.92 hits per line

Source Files on job 16969724964.1
  • Tree
  • List 229
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16969724964
  • ae6f3bcf on github
  • Prev Job for on main (#16969068567.1)
  • Next Job for on main (#17034661568.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc