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

cofacts / rumors-api / 30203190180
83%
master: 82%

Build:
Build:
LAST BUILD BRANCH: vector-search
DEFAULT BRANCH: master
Ran 26 Jul 2026 01:03PM UTC
Jobs 1
Files 175
Run time 1min
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

26 Jul 2026 01:00PM UTC coverage: 83.238% (+1.2%) from 81.989%
30203190180

Pull #388

github

yutin1987
feat: hybrid BM25 + kNN vector search with Gemini embeddings

Add dense-vector (kNN) retrieval to ListArticles/ListReplies, opt-in via
the `embedding` similarity filter. kNN narrows the candidate set and the
existing BM25 / perceptual-hash scoring ranks the results.

- Embed articles and replies on create; backfill script for old docs.
- Audio/video embed as a single vector capped at 80s (no duration probe).
- Media queries reuse the doc-side embedding by content hash, else fetch
  bytes from the query URL and embed — search never persists to GCS, so
  no orphan files.
- All Gemini calls (embeddings + transcription) use the Developer API and
  feed media via the Files API; Vertex AI is removed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #388: vector search

1011 of 1294 branches covered (78.13%)

Branch coverage included in aggregate %.

174 of 191 new or added lines in 10 files covered. (91.1%)

8 existing lines in 1 file now uncovered.

1899 of 2202 relevant lines covered (86.24%)

17.2 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
87.84
src/scripts/migrations/backfillVertexEmbeddings.ts
3
92.42
8.62% src/graphql/util.js
2
91.18
-8.82% src/graphql/mutations/CreateArticle.js
2
79.49
-8.01% src/graphql/mutations/CreateReply.js
1
84.62
-15.38% src/graphql/models/AIResponse.js
1
89.09
-8.28% src/graphql/mutations/CreateMediaArticle.js
1
93.14
-1.34% src/graphql/queries/ListArticles.js
1
92.06
-1.81% src/graphql/queries/ListReplies.js

Coverage Regressions

Lines Coverage ∆ File
8
81.2
-10.53% src/graphql/models/Article.js
Jobs
ID Job ID Ran Files Coverage
1 30203190180.1 26 Jul 2026 01:03PM UTC 175
83.24
GitHub Action Run
Source Files on build 30203190180
  • Tree
  • List 175
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #388
  • PR Base - master (#29521363066)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc