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

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

Build:
Build:
LAST BUILD BRANCH: refs/tags/release/20260717
DEFAULT BRANCH: master
Ran 13 Jul 2026 04:07AM 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

13 Jul 2026 04:04AM UTC coverage: 82.958% (+0.7%) from 82.22%
29223066175

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

1021 of 1314 branches covered (77.7%)

Branch coverage included in aggregate %.

219 of 246 new or added lines in 10 files covered. (89.02%)

8 existing lines in 1 file now uncovered.

1929 of 2242 relevant lines covered (86.04%)

16.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
57.14
src/util/genai.ts
6
87.84
src/scripts/migrations/backfillVertexEmbeddings.ts
3
92.07
5.86% src/graphql/util.js
2
91.18
-8.82% src/graphql/mutations/CreateArticle.js
2
79.49
-8.01% src/graphql/mutations/CreateReply.js
2
92.31
-2.17% src/graphql/queries/ListArticles.js
1
84.62
-15.38% src/graphql/models/AIResponse.js
1
89.09
-8.28% src/graphql/mutations/CreateMediaArticle.js
1
92.06
-1.81% src/graphql/queries/ListReplies.js
1
96.1
src/util/embedding.ts

Coverage Regressions

Lines Coverage ∆ File
8
81.2
-10.53% src/graphql/models/Article.js
Jobs
ID Job ID Ran Files Coverage
1 29223066175.1 13 Jul 2026 04:07AM UTC 175
82.96
GitHub Action Run
Source Files on build 29223066175
  • 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 (#25367658817)
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